Table of Contents

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


Table of Contents