Hiya all,
Is it possible to use the for method to tell flash to apply the same script for a whole group of mc’s ?
Let’s say I have m1_mc, m2_mc… m15_mc and I want all these mc’s to initiate a certain script once a certain frame is loaded… :luigi:
I tried coming up with my own script to realize my theory :
_root.onEnterFrame = function () {
for(var i = 0;i<15; i++) {
_root.m*_mc.gotoAndPlay(12);
}
}
It [COLOR=Red]doesn’t work[/COLOR], simply because I’m not too experienced with AS…help