I have created a movieclip which have 120 frames.
Now i have used multiple instances of this movieclip on stage.
I want each movieclip to stop when it reaches a particular frame. (frame number is different for all instances)
i tried following code
if (char_1.currentFrame == 36) {char_1.stop();}
but it’s not working. i tried to trace the current frame and it’s always showing 1.
trace(char_1.currentFrame);
Any solution please?
try something like this:
if the traces still state that the
currentFrameis 1, make sure to do aplay();in every MC you use.