# How do I code buttons within dropdown menu?

**URL:** <https://forum.kirupa.com/t/how-do-i-code-buttons-within-dropdown-menu/268069>\
**Category:** Uncategorized\
**Created:** [August 8, 2008, 8:34pm UTC](https://forum.kirupa.com/t/how-do-i-code-buttons-within-dropdown-menu/268069 "2008-08-08T20:34:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tl2777](https://avatars.discourse-cdn.com/v4/letter/t/7c8e57/32.png) [@tl2777](https://forum.kirupa.com/u/tl2777)\
**Post date:** [August 8, 2008, 8:34pm UTC](https://forum.kirupa.com/t/how-do-i-code-buttons-within-dropdown-menu/268069/1 "2008-08-08T20:34:09Z")

</div>

For normal buttons I normally just use ‘go to’ and then have it go to a label

eg.

on (release) {  
gotoAndPlay(“r11”);  
}

With a dropdown menu the buttons are contained within a movie clip whereas normal buttons are directly on the main timeline so I’m wondering if I have to alter the code somewhat because right I’m using the same code and its not working.

Any suggestions?

Thanks in advance!  
Tom
