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.stop( ) Method Flash 5

pause a clip or movie

mc.stop()

Description

The MovieClip.stop( ) method is an alternative to the global stop( ) function. Use the MovieClip method form to control remote movie clips or main movies specified by mc. The Flash Player continues to render the Stage's contents and process events even when the playhead is stopped.

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

Example

// Halt the playback of spinner_mc spinner_mc.stop();

See Also

MovieClip.nextFrame( ), MovieClip.play( ), MovieClip.prevFrame( ), stop( )

    Категории