SWiSH Player Support
SWF4 or later - Supported Internally
Syntax
spritename.unloadMovie()
Arguments
spritename: Name of the Sprite / Movie Clip that is removed.
Returns
Nothing.
Description
Action or Sprite Method: Removes a loaded Movie or a Movie Clip from the Flash Player.
Sample
In the following unloadMovie statement to the onLoad Event of a Sprite, the Movie previously in Sprite1 is unloaded.
onLoad () {
sprite1.unloadMovie(); // unload Sprite 1
}
Note: The above script must be tested using the test in player or test in browser feature
See also
loadMovie, loadMovieNum, unloadMovie, unloadMovieNum, loadVariables and loadVariablesNum.