Name

stop( ) Global Function — pause the movie’s playback at the current frame

Availability

Flash 2 and later

Synopsis

stop( )

Description

The stop( ) function is a simple but fundamental function that halts the playback of a movie or movie clip. It is the global counterpart of the MovieClip.stop( ) method. It is commonly used to wait for the user to, say, choose from a graphical menu.

See Also

MovieClip.stop( ), play( )

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.