Hey guys, I have a little problem updating an array that has a string variable…
Here’s the simplified example:
var nameString:String = "not wanted";
var stringArray:Array = new Array("hello " + nameString);
nameString = "wanted name";
trace(stringArray[0]); //hello not wanted <--- is being traced...I want: hello wanted <--- to be traced
Any ideas?
Thanks a lot in advance!