# MC button OnPress1/OnPress2 \*help\*

**URL:** <https://forum.kirupa.com/t/mc-button-onpress1-onpress2-help/212081>\
**Category:** flash\
**Created:** [January 8, 2007, 12:33pm UTC](https://forum.kirupa.com/t/mc-button-onpress1-onpress2-help/212081 "2007-01-08T12:33:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dondeigo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dondeigo/32/2806_2.png) [@dondeigo](https://forum.kirupa.com/u/dondeigo)\
**Post date:** [January 8, 2007, 12:33pm UTC](https://forum.kirupa.com/t/mc-button-onpress1-onpress2-help/212081/1 "2007-01-08T12:33:31Z")

</div>

Hello and happy new year to you all…  
I have a question, and I hope someone can help.

I’m trying to build a drop down menu using fuse kit.  
I somewhat understand the fuse kit, or the stuff I need to  
alpha ,slide, tween and the whatnots.

But what I need help to is this,  
I have a menu button, (button\_mc) press it once and the sub menu appears  
Press it again and the sub menu disappears

But how do I write the code.  
So It will work?

button\_mc.onPress1 = function() {  
Some code that make the menu appear  
}  
button\_mc.onPress2 = function() {  
Some code that make the menu disappear

Hope some on can help out, cheers.  
dondeigo
