# How to disableall a menu button function

**URL:** https://forum.kirupa.com/t/how-to-disableall-a-menu-button-function/222203
**Category:** flash
**Created:** [April 11, 2007, 4:16pm UTC](https://forum.kirupa.com/t/how-to-disableall-a-menu-button-function/222203 "2007-04-11T16:16:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cookingkym](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cookingkym](https://forum.kirupa.com/u/cookingkym)
#### Post date: [April 11, 2007, 4:16pm UTC](https://forum.kirupa.com/t/how-to-disableall-a-menu-button-function/222203/1 "2007-04-11T16:16:02Z")

</div>

Hey Everyone.

How would i disableall a menu button after i’m in that part of the menu, so i cant’nt keep clicking on it and getting my transition effect?

This is the function for my menu button.

futbol\_mc.onRelease=function(){  
myName=this.\_name;  
subNav(myName);  
trans2.gotoAndPlay(“tran”);  
}

Any help would be awesome, many thanks :te:

ck
