# Problem with menus

**URL:** https://forum.kirupa.com/t/problem-with-menus/107736
**Category:** Uncategorized
**Created:** [April 18, 2004, 4:07pm UTC](https://forum.kirupa.com/t/problem-with-menus/107736 "2004-04-18T16:07:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BlodoPKNZ](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@BlodoPKNZ](https://forum.kirupa.com/u/BlodoPKNZ)
#### Post date: [April 18, 2004, 4:07pm UTC](https://forum.kirupa.com/t/problem-with-menus/107736/1 "2004-04-18T16:07:49Z")

</div>

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?
