Unload Movies on LeaveFrame

Hi :slight_smile:

I’m building a site for my music and stupid as I am I tried to do so in flash.
well, most part works just fine

problem:
i load an mp3 with

loadMovieNum("queen/player.swf", 2);

to use my homemade player-interface

what I need now is a way to unload these movies the moment someone leaves the frame. i tried to put an

unloadMovieNum("queen/player.swf");

on every menue item but that does not seem to work
(by now you probably realised I’m no flash-guru)

if anyone could help (the simpliest way possible) i would be greatful forever (maybe I’ll write a song for my new saviour :wink: )

unloadMovie(“queen/player.swf”);

tried that
… no effect at all (music keeps playing and the player remains visible)

when I use “unloadMovieNum” the browser opens the domain root directory and I can see the files on the webspace (so at least it does something)

i tried also changing the swf-path (with or without sub-directory) … doesn’t work either (exactly same problems as mentioned)

unloadMovieNum(2);

:yoshi:

omg … thx!! :crazy:
… just had to add another stopAllSounds

incredible that this was the only real problem i couldn’t resolve on my own / using google.

lets see if i can put up that halfpromised song for you :trout:
(if it’s not happens next few days don’t count on it)

:lol: Glad to help :thumb: