Dynamic Movieclip Animation Speed in AS3
Goal: Animate a MovieClip at an arbitrary speed during runtime.
Method: Store a custom frame Number. Increment it every frame, loop it around if the Number is out of bounds. Round the value and use it as a parameter for gotoAndStop().
The Code
1 2… |
