-
EMERGENCY! Dynamic Code
hi there everyone,
ive got a quick question,
i have 4 movie clips each named:
moleTop1
moleTop2
moleTop3
moleTop4
im trying to run one at a time using this code but with no luck:
Code:
var rndNum:Number = 4;
moleTop['rndNum'].play();
i know its possible but ive forgotten the syntax
any ideas? im using AS3
Cheers
-
Are you trying to get each movie clip to play in random order?
-
Thanks for your reply,
I think I found it,
This["moleTop"+rndNum].play
... Now all I need to do is try it out lol