How to remove an externally loaded swf?

i am trying to remove an external swf from my main movie. it doesnt want to go away! does anyone know how to do this? i tried to use:

on (press) {
_root.contents.unloadMovie();
}

but it didnt work. it just made the move get stuck.

here is what it looks like now:
http://www.braddockdesign.com/kirupahelp/removeMovie.html

i am attaching the file here:
http://www.braddockdesign.com/kirupahelp/removeMovie.zip

thanks for your help!
:hugegrin:

try

on(press){
_root.unloadMovie(“contents”);
}

I tried the code, but it didnt seem to work. It made the whole movie disappear.

on(press){
_root.unloadMovie(“text”);
}

any other ideas?
im stumped.

whoops. try

on(release){
unloadMovie("_root.text");
}

it works, but only one time then it leaves both of the external swfs on the main movie. i just dont understand why its doing this. code is so annoying. urrr!

here is what i did so far:
http://www.braddockdesign.com/kirupahelp/removeMovie2.html

the fla file:
http://www.braddockdesign.com/kirupahelp/removeMovie2.fla

(thank you)

in the people_mc, you forgot to put the unloadMovie("_root.text");

oh. ok! thanks for your help