Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Global Functions > unloadMovie() | |||
Flash Lite 1.0.
unloadMovie(target)
target The target path of a movie clip.
Function; removes a movie clip from Flash Lite that was loaded by means of loadMovie(), loadMovieNum(), or duplicateMovieClip().
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);}
|
|
|
|