LiquidIce
10-24-2002, 09:25 PM
I'm having some trouble, i'm probably just overtired and overlooking something simple, but I have this code:
var thispoof = "poof" + p
thispoof.gotoAndPlay(2);
now when i run it I would assume that it would run the code as:
poof1.gotoAndPlay(2);
(assuming p = 1 elsewhere in the script)
This is not the case and i can't get it to start playing the second frame of the 'poof1' movie clip. Anyone have any ideas?
If it makes a difference poof1 is created by duplicating the original poof movie clip. all frames, and scripts should get duplicated along with it, right?
Thanks!
-Vin
var thispoof = "poof" + p
thispoof.gotoAndPlay(2);
now when i run it I would assume that it would run the code as:
poof1.gotoAndPlay(2);
(assuming p = 1 elsewhere in the script)
This is not the case and i can't get it to start playing the second frame of the 'poof1' movie clip. Anyone have any ideas?
If it makes a difference poof1 is created by duplicating the original poof movie clip. all frames, and scripts should get duplicated along with it, right?
Thanks!
-Vin