Table of Contents

MovieClip.unloadMovie( ) Method Flash 5

remove a movie or movie clip from the Player
mc.unloadMovie()

Description

The MovieClip.unloadMovie( ) method is an alternative to the global unloadMovie( ) function. When invoked as a MovieClip method, unloadMovie( ) does not take a target parameter; it always unloads mc. The MovieClip method syntax is less prone to user error than its global function counterpart because no target parameter is required.

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

Example

// Removes a loaded document from level 1
_level1.unloadMovie();

See Also

MovieClip.loadMovie( ), unloadMovie( ); Section 13.7


Table of Contents