Example
The following example unloads a movie clip instance called
movie clip:
this.createEmptyMovieClip("box", 1);
with (box) {
lineStyle(1, 0xCCCCCC);
beginFill(0x4827CF);
moveTo(0, 0);
lineTo(80, 0);
lineTo(80, 60);
lineTo(0, 60);
lineTo(0, 0);
endFill();
}
box.onRelease = function() {
box.unloadMovie();
};
See also
removeMovieClip (MovieClip.removeMovieClip method)
(MovieClip.attachMovie method)
unloadMovie function
_url (MovieClip._url property)
public _url :
String
Retrieves the URL of the SWF, JPEG, GIF, or PNG file from which the movie clip was
downloaded.
Availability: ActionScript 1.0; Flash Lite 2.0
,
loadMovie (MovieClip.loadMovie method)
,
unloadMovieNum function
[read-only]
when a user clicks the
box
,
attachMovie
MovieClip
box
,
521
Need help?
Do you have a question about the FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers