I have a toon im making (just for experimentational reasons), but for a walking I want the feet to spin (you’ll see what i mean in the fla) 5 times before stopping.
I have this code on the end of the foot movieclip:
[AS]stop();
i = 1;
if (i<5) {
i++;
gotoAndPlay(1);
} else {
stop();
}[/AS]
But even with that code the feet just continue moving, am I missing something in the code, or something else?