MovieClip.unloadMovie( ) Method | Flash 5 |
remove a movie or movie clip from the Player |
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.
// Removes a loaded document from level 1 _level1.unloadMovie();
MovieClip.loadMovie( ), unloadMovie( ); Section 13.7