Unloading what's been loaded

I have used the following code to load a .swf into my main movie:

loadMovie("-","-")

with a target location command

This works fine, alignment and all, but I can’t figure out how to unload the movie from within the loaded movie without re-loading the http file of the main movie.

Sounds confusing…

Using remote location would work if the .swf was loaded from a remote location which it isn’t and I want to avoid this.

Any help around?

Hi,

Do u mean unloadMovie(“target”); ?

Doesn’t seem to work, here’s the .flas if you would like to see, click on credits and you’ll see a return option. I can’t get it to work

cheers

here’s the main movie

Hi,

I’ve had a look to ur flas and ur mistake is that ur trying to unload the swf but u should refer to the MC that’s holding it

unloadMovie("_root.theClip");

Cheers

SHO

Works a treat,

muchos grazias

U r wellcome

De nada.

Ez dago zergaitik

Glad it worked

Cheers

SHO