# Dropdown menu problem

**URL:** <https://forum.kirupa.com/t/dropdown-menu-problem/92398>\
**Category:** Uncategorized\
**Created:** [October 16, 2003, 5:48pm UTC](https://forum.kirupa.com/t/dropdown-menu-problem/92398 "2003-10-16T17:48:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjk21](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@pjk21](https://forum.kirupa.com/u/pjk21)\
**Post date:** [October 16, 2003, 5:48pm UTC](https://forum.kirupa.com/t/dropdown-menu-problem/92398/1 "2003-10-16T17:48:36Z")

</div>

Hi, I am working on a dropdownmenu,  
when the mouse passes over the button a dropdownmenu  
appears/goes down, the problem is that when i want to click  
the links on the dropdownmenu the menu goes back up.  
how can i make it so that the menu stays down.

this is the code i have assigned to the button:

on (rollOver) {  
gotoAndPlay(4);  
}  
on (rollOut) {  
gotoAndPlay(17);  
}
