unloadMovie()

Availability

Flash Lite 1.0.

Usage

unloadMovie(target)

Operands

target The target path of a movie clip.

Description

Function; removes a movie clip from Flash Lite that was loaded by means of loadMovie(), loadMovieNum(), or duplicateMovieClip().

Example

When the user presses the 3 key, the following code responds by unloading the draggable_mc movie clip on the main timeline and loading movie.swf into level 4 of the document stack:

on (keypress "3") {
    unloadMovie ("/draggable_mc");
    loadMovieNum("movie.swf", 4);
}

When the user presses the 3 key, the following example unloads the movie that was loaded into level 4:

on (keypress "3") {
    unloadMovieNum(4);
}

See also

loadMovie()