0

I was workin on a project, and i need to put a variable, between the text in URLRequest

url4 = new URLRequest("text/"abc"/text.png");

Any help?? Btw let's say abc is the variable i want to put

Igli Kadija
  • 113
  • 2
  • 11

1 Answers1

1

You use + to add strings and variables together in AS3.

url4 = new URLRequest("text/"+abc+"/text.png");
Barış Uşaklı
  • 13,440
  • 7
  • 40
  • 66