Name

MovieClip.stop( ) Method — pause a clip or movie

Availability

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

Synopsis

mc.stop( )

Description

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

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

Example

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

See Also

MovieClip.play( ), stop( )

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.