You want to perform an action or actions at the frame rate of the movie.
Use an onEnterFrame( ) handler.
The onEnterFrame( ) event handler method for movie clips is the appropriate choice when you want to perform actions continuously at the same speed as the frame rate of the movie. See Recipe 1.1 and Recipe 7.8.
|