Name

MovieClip.nextFrame( ) Method — advance a clip or movie’s playhead one frame and stop it

Availability

Method form introduced in Flash 5 (global form supported by Flash 2 and later)

Synopsis

mc.nextFrame( )

Description

The MovieClip.nextFrame( ) method is an alternative to the global nextFrame( ) function. Use the 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 one frame and stop the playhead
slideshow.nextFrame( );

See Also

MovieClip.prevFrame( ), nextFrame( )

Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.