# Need a onRollOut when you press on another button

**URL:** <https://forum.kirupa.com/t/need-a-onrollout-when-you-press-on-another-button/205532>\
**Category:** flash\
**Created:** [October 30, 2006, 5:15pm UTC](https://forum.kirupa.com/t/need-a-onrollout-when-you-press-on-another-button/205532 "2006-10-30T17:15:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis\_gull](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@Dennis\_gull](https://forum.kirupa.com/u/Dennis_gull)\
**Post date:** [October 30, 2006, 5:15pm UTC](https://forum.kirupa.com/t/need-a-onrollout-when-you-press-on-another-button/205532/1 "2006-10-30T17:15:23Z")

</div>

Hello,  
Im going to do a menu on the left side of my site and I want the buttons to fade when you hold over them and then fade out when you leave them and when you click on the menu I want a new window to come out. I have done this but When you leave the button the new window disappear I think I can fix this but heres the big problem:

[COLOR=Red]I want the window to go back (not only disappear at once) when you click on another button…

[COLOR=Black]But I have no idea what action script I need to use to do this… If anyone know a tutorial or can explane how to do this I would be very glad :)[/COLOR]  
[/COLOR]
