T-W > unloadMovie
unloadMovieSyntax
unloadMovie(
location
);
Arguments
location
The depth level or target movie clip from which to unload the movie.
Description
Action; removes a movie from the Flash Player that was previously loaded using the loadMovie
action.
Player
Flash 3 or later.
Example
The following example unloads the main movie, leaving the Stage blank:
unloadMovie(_root);
The following example unloads the movie at level 15, when the user clicks the mouse:
on(press) {
unloadMovie(_level15);
}
See also
loadMovie