Hi. I have created a button that, when pressed, loads up an external swf into an empty MC above the button, that contains a list (menu) of artists names (called Test Tsunami 3.swf). This is the coding on the empty MC:
This works fine but i want it so when u move the mouse cursor off of the button or the loaded list, i want it to delete the swf so it returns back to it's normal state, i tried to do this at the end of the script above, why won't this work?
Regards
Tom
Last edited by tomstaveley; 01-31-2005 at 05:55 PM.
lol, i think this might work but when i click it nothing happens, but what i think might have happened is that it has loaded it and then deleted it straight away, how do i solve this?
I couldn't get it to work either the way you were trying it so I made a simpler solution.
I manually placed a blank MC at approx x:5 y:-200 like you were doing dynamically. Place this on that MC...
Code:
on(RollOut){
this.unloadMovie();
Then I just instructed your choose_btn MC to load the swf containingthe Tsunami into that. Worked liked a charm. (also you wont be bogging the program down with an unneeded "onEnterframe"). And I would go into the choose_btn MC and delete that button inside and just place the contents of "choose" directly with choose_btn.