ActionScript for Flash MX: The Definitive Guide, Second Edition

ActionScript for Flash MX: The Definitive Guide, 2nd EditionBy Colin Moock
Chapter 18.  ActionScript Language Reference
MovieClip.nextFrame( ) Method Flash 5

advance a clip or movie's playhead one frame and stop it

mc.nextFrame()

Description

The MovieClip.nextFrame( ) method is an alternative to the global nextFrame( ) function. Use the MovieClip method form to control remote movie clips or main movies specified by mc.

For general usage instructions, see the global nextFrame( ) function.

Example

// Advance slideshow_mc one frame and stop the playhead slideshow_mc.nextFrame();

See Also

gotoAndStop( ), MovieClip.gotoAndStop( ), MovieClip.prevFrame( ), nextFrame( )

    Категории