I made a nav bar, and when you are over a button it has the “DOWN” state.
Test it works, roll over and see down state.
I put this nav bar (as a movie) call it NAVI, into the main movie.
Test it works, roll over and see down state.
Now, to NAVI I assign this code
on(rollOut){
if (menu_status !=“close”){
this.gotoAndPlay(“close”);
}
menu_status =“close”;
}
However! now the button the mouse is over doesn’t show the DOWN state.
Note: I am doing this here because this allows me to detect if the mouse has gone off ANY part of the menu that has UNFOLDED and isn’t present before your move the mouse over it. You can’t do this in the Nav itself because you need to detect if the mouse moved off the entire menu which is not longer just the first hotspot. So a RollOut can’t be used becuase you leave the hotspot and if you are still on the menu graphics you don’t want it to close, but if you are not you want it to…
Also, an invisible button isn’t the answere because there is animation and other stuff…
So I’d like to focus on why the mouseover isn’t being passed onto the movie clip once I assign some action script to it on the main menu.