PDA

View Full Version : [mx] unloading



Lacuna
March 2nd, 2003, 09:35 PM
My movie won't unload.

In my flash I have all my buttons loading their .swfs to level 1. The main pic that loads when the site first opens is on level 7. I have the following code:


____________________________ code:


on (release) {
createEmptyMovieClip("box", 1);
box.loadMovie("boxservices.swf");
box._x = 25;
box._y = 180;
}
on (releaseOutside) {
unloadMovieNum(1);
unloadMovieNum(7);
}


**and this is the main swf's code**



onClipEvent (load) {
loadMovieNum("opener.swf", 7);
}


___________________________ : ec

So it creates the 'box' for the mc for the button and then when the user clicks a second button the original movie on lvl 1 unloads. But my main swf which is on lvl 7 does not unload... does anyone know why?

:love: ~Seretha (**confused**)

Lacuna
March 3rd, 2003, 12:05 AM
hmmmm... so no one has experienced this before? (..sneeks in a bump)

:love: ~Seretha

kode
March 3rd, 2003, 04:17 AM
instance.onReleaseOutside

invoked when the mouse is released while the pointer is outside the button after the button is pressed while the pointer is inside the button

:)