# Menu Problem

**URL:** <https://forum.kirupa.com/t/menu-problem/239242>\
**Category:** Uncategorized\
**Created:** [September 19, 2007, 8:48pm UTC](https://forum.kirupa.com/t/menu-problem/239242 "2007-09-19T20:48:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RubenDoliveira](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rubendoliveira/32/3905_2.png) [@RubenDoliveira](https://forum.kirupa.com/u/RubenDoliveira)\
**Post date:** [September 19, 2007, 8:48pm UTC](https://forum.kirupa.com/t/menu-problem/239242/1 "2007-09-19T20:48:57Z")

</div>

Hi,

I’ve search everywhere and I can’t find anything related.

I have a menu button, and when I click on it, there is a movie clip that shows up making some animation and then it stops, but the menu button is still active and when I click again that movie clip starts over again with the animation.

the code is wrong, it’s just for your understanding. So, it will be something like this:

```auto

gallery_button.addEventListener(MouseEvent.CLICK, gallery_section);
currentSection = "Gallery";
.
.
.
//Menu
//If(currentSection == "Gallery"){
//all the buttons = on
//Gallery button = off

```

Thanks in advance.
