May 2001
Intermediate to advanced
720 pages
23h 24m
English
nextFrame( ) Global Function — advance a movie or movie clip’s playhead one frame and stop it
Flash 2 and later
nextFrame( )
The nextFrame( ) function moves the playhead of
the current timeline ahead one frame and stops it there. The
“current timeline” is the timeline from which the
nextFrame( ) function is invoked. The
nextFrame( ) function is synonymous with
gotoAndStop(_currentFrame + 1);. If invoked on
the last frame of a timeline, nextFrame( )
simply stops the playhead on that frame unless another scene follows
the current scene, in which case nextFrame( )
moves the playhead to frame 1 of the next scene.
gotoAndStop( ), MovieClip.nextFrame(
), nextScene( ), prevFrame(
)
Read now
Unlock full access