
print() Global Function
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
739
prevFrame() Global Function
send a movie’s playhead back one frame and stop it there
Flash 2
prevFrame()
Description
The prevFrame() function moves the playhead of the current timeline back one frame and
stops it there. The current timeline is the timeline of the main movie or movie clip from
which the prevFrame() function was invoked. The prevFrame() function is synonymous
with gotoAndStop(_currentFrame – 1). If it is invoked on the first frame of a timeline,
prevFrame() simply stops the playhead on that frame, unless another scene precedes the
current scene, in which case prevFrame() moves the playhead to the last frame of the
previous scene.
See Also
gotoAndStop(), MovieClip.prevFrame(), nextFrame(), prevScene(), stop()
prevScene() Global Function
send a movie’s playhead to frame 1 of the previous scene
Flash 2
prevScene()
Description
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 time-
line in order to have an effect; that is, prevScene() has no effect inside a movie clip or
onClipEvent() handler. If invoked from the first ...