Deleting empty movie clip

hey guys !

ok, im trying to make a site that has video clips… what i did was i called a couple of external .swfs into my site by using createEmptyMovieClip… it works perfectly… until i click on the other parts of the site… coz the loaded .swf wont disappear anymore ! :frowning:

i think that i need to put delete.this or whatever… im not sure… how do i make the loaded .swf disappear when i go to other parts of the site? i hope im making sense

:hair:

You could use the [font=courier new]MovieClip.removeMovieClip()[/font] method to completely remove it, or use the [font=courier new]MovieClip.unloadMovie()[/font] method to unload its content only. :slight_smile:

http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary564.html
http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary578.html

oooooooh… cool ! thanks kode!

You’re welcome. :wink: