# Need help with simple menu element

**URL:** <https://forum.kirupa.com/t/need-help-with-simple-menu-element/224410>\
**Category:** flash\
**Created:** [May 2, 2007, 5:16am UTC](https://forum.kirupa.com/t/need-help-with-simple-menu-element/224410 "2007-05-02T05:16:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iron](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@iron](https://forum.kirupa.com/u/iron)\
**Post date:** [May 2, 2007, 5:16am UTC](https://forum.kirupa.com/t/need-help-with-simple-menu-element/224410/1 "2007-05-02T05:16:06Z")

</div>

I’m new to flash, but currently started working on web page for my corp.

I need to create a button, that will bring to stage a frame (simple rectangle) with some text written on it. The frame has to have squeeze and elastic transitions, so when you press the button it launches to the stage, bounce a little, and stays on stage (stops, so text could be read). When you press the same button again it hides in the same way (with squeeze and elastic).  
I know this is simple, but I would appreciate any help ;).

As a sample, I attach .fla —\> this kind of shows how the menu is suppose to close. Doesn’t matter that it is a button itself ;). I just don’t have the “open” and “stay” states figured out.

Is there any way to control the amount of effect (bounce, squeeze, zoom, etc.) ???

Thanks for all your help!!!
