Does the play()
function in Flash:
- move the playhead of the MovieClip to the next frame -- as soon as
play()
is called - change the MovieClip's state to "playing" -- actually move MovieClip to next frame, when movie moves to next frame
Does the play()
function in Flash:
play()
is calledIn normal circumstances it would be option 2. However, it is possible to have the frame re-drawn immediately. There is a catch though, you can only do this within mouse move and timer interval handlers. In AS3 have a look at the MouseEvent.updateAfterEvent and the TimerEvent.updateAfterEvent methods. In AS 2 there is a global updateAfterEvent function you can call with the same restrictions.