Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: dynamic string in actionscript
04-16-2009, 07:56 PM #1
- Join Date
- Oct 2008
- Thanked 0 Times in 0 Posts
dynamic string in actionscript
My syntax is all messed up and I'm not very good with actionscript. If anyone could take a look at this it would be greatly appreciated:
//Location of CSS and text files to load.
var txt_url:String = "terms" + _root.id + ".html");
var txt_url:String = "terms" + _root.id + ".css");
So I have a FlashVar="id=1"
I need the string to end up being:
var txt_url:String = "page1.html");
var txt_url:String = "page1.css");
Thanks for looking!