MovieClip.stop( ) Method

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By 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( )



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net