prevFrame( ) Global Function

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
prevFrame( ) Global Function Flash 2

send a movie's playhead back one frame and stop it there
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( )



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net