May 2001
Intermediate to advanced
720 pages
23h 24m
English
prevScene( ) Global Function — send a movie’s playhead to frame 1 of the previous scene
Flash 2 and later
prevScene( )
The prevScene( ) function moves the main
playhead of a movie to frame 1 of the scene before the current scene
and stops the main movie timeline. The “current scene” is
the scene from which the prevScene( ) function
is invoked. It must be invoked on a scene’s main timeline in
order to have an effect; that is, prevScene( )
does not work inside a movie clip or onClipEvent(
) handler. If invoked from the first scene in a movie,
prevScene( ) sends the playhead to frame 1 of
that scene and halts movie playback.
nextScene( ), prevFrame( )
Read now
Unlock full access