PDA

View Full Version : Loading/Unloading External SWF's



Aesis
August 4th, 2004, 03:02 AM
Hello,
I have a question, I'm new so i dont know much ^_^
I am Using Flash MX ActionScript.

Anyways i have a series of buttons, and I would like them to each load a external SWF file into a movieclip. I have accomplished this so far but,
I would like it so that whenever I click a button it unloads any already loaded SWF file that is already there.
This is what I Have So far

on (release) {
loadMovie("movie.swf", this.movieholder);
}

lol not much,
but any help would be appreciated C:-)

e.s.x.s
August 4th, 2004, 04:55 AM
u can use unloadMovie(this.movieholder);

Aesis
August 4th, 2004, 02:03 PM
lol So Simple I don't know why I didn't think of it.
Thanks:rabbit:

mystique
August 5th, 2004, 01:08 AM
empty movie clip containers can only hold one thing at a time anyways, so when you click something new it will automatically unload the last one anyways


lol So Simple I don't know why I didn't think of it.
Thanks:rabbit: