Dear forum members,
I am trying to attachMovie from array.
Here it goes like this:
var __reg3 = new Array (“1”, “2”, “3”, “4”);
_root.p1.attachMovie(__reg3[0] + 1, “run1”, 1); – Not working
Then I tried using string:
test1:String = __reg3[0] + 1
_root.p1.attachMovie(’"+‘test1+’"’, “run1”, 1); – Not working
Then I tried this
_root.p1.attachMovie(" “” +test1+" “”, “run1”, 1); – Not working
Then used this:
qt:String = ‘"’;
_root.p1.attachMovie(qt+test1+qt, “run1”, 1); – Not working
But when I use like this, its working:
_root.p1.attachMovie(“3”, “run1”, 1); – working.
Please help guys.