MovieClip.removeMovieClip( ) Method

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
MovieClip.removeMovieClip( ) Method Flash 5

delete a movie clip from the Flash Player
mc.removeMovieClip()

Description

The MovieClip.removeMovieClip( ) method is an alternative to the global removeMovieClip( ) function. When invoked as a MovieClip method, removeMovieClip( ) takes no target parameter; it always removes mc. The MovieClip method syntax is less prone to user error than its global function counterpart.

For usage instructions, see the global removeMovieClip( ) function.

See Also

duplicateMovieClip( ), MovieClip.attachMovie( ), MovieClip.duplicateMovieClip( ), removeMovieClip( ); Section 13.7



    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