# Buttons in rollOver menu

**URL:** <https://forum.kirupa.com/t/buttons-in-rollover-menu/82827>\
**Category:** Uncategorized\
**Created:** [March 14, 2005, 12:51am UTC](https://forum.kirupa.com/t/buttons-in-rollover-menu/82827 "2005-03-14T00:51:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Macro\_design](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Macro\_design](https://forum.kirupa.com/u/Macro_design)\
**Post date:** [March 14, 2005, 12:51am UTC](https://forum.kirupa.com/t/buttons-in-rollover-menu/82827/1 "2005-03-14T00:51:40Z")

</div>

[color=black][font=Arial]I’m trying to create a menu, where some buttons becomes visible when the user “rollOver” a box the buttons is beneath. Look at [/font][/color][color=black][font=Arial][[color=#800080]http://www.grupotecnimede.com/[/color]](http://www.grupotecnimede.com/)[/font][/color][color=black][font=Arial] menu system, at the main page.[/font][/color]

[color=black][font=Arial]I place my buttons within a MC, and gives the MC this AS:[/font][/color][color=black][font=Arial]  
[AS]onClipEvent (load){  
change = false;  
}  
onClipEvent (enterFrame){  
if(change == true){  
this.nextFrame();  
} else {  
this.prevFrame();  
}  
}  
on (rollOver){  
change = true;  
}  
on (rollOut){  
change = false;  
}[/AS][/font][/color][color=black][font=Arial]But when I move the mouse over the buttons, they aren’t enabled, probably because flash got the idea that the MC is above the buttons, and that the MC is a button.[/font][/color]

[color=black][font=Arial]Anybody got at solution to this problem of mine?[/font][/color]
