Im doing an interface for a site which contains a menu (duh!) with submenus in it. Im trying to do something like when you click on a menu button, a submenu becomes visible, and the menu hides after the cursor leaves its area. The problem is: i cant make the mc containing the submenu and buttons dissappear, using:
[AS]on (rollOut) {
setProperty(“submenu1”, _visible, “0”);
}
[/AS]
as this disables all actions inside the mc, therefore making the submenu useless. I also tried to use:
[AS] onClipEvent (mouseDown) {
setProperty(“submenu1”, _visible, “0”);
}
[/AS]
…as an alternative, but when i clicked a button in the submenu, the submenu would disappear, but the button didnt execute its actions. Its a kind of these “easy but hard” problems. Can someone point out what am i doing wrong here?