Flash 8 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript language elements > Global Functions > unloadMovieNum function | |||
unloadMovieNum(level:Number) : Void
Removes a SWF or image that was loaded by means of loadMovieNum() from Flash Player. To unload a SWF or image that was loaded with MovieClip.loadMovie(), use unloadMovie() instead of unloadMovieNum().
Availability: ActionScript 1.0; Flash Player 3
level:Number - The level (_level N ) of a loaded movie.
The following example loads an image into a SWF file. When you click unload_btn, the loaded content is removed.
loadMovieNum("yourimage.jpg", 1);
unload_btn.onRelease = function() {
unloadMovieNum(1);
}
loadMovieNum function, unloadMovie function, loadMovie (MovieClip.loadMovie method)
Version 8
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00001781.html