# Using .\_parent or .\_root

**URL:** <https://forum.kirupa.com/t/using--parent-or--root/284915>\
**Category:** Uncategorized\
**Created:** [March 25, 2009, 2:13am UTC](https://forum.kirupa.com/t/using--parent-or--root/284915 "2009-03-25T02:13:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcomedium](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@marcomedium](https://forum.kirupa.com/u/marcomedium)\
**Post date:** [March 25, 2009, 2:13am UTC](https://forum.kirupa.com/t/using--parent-or--root/284915/1 "2009-03-25T02:13:16Z")

</div>

hi, still struggling with making my drop down menu buttons act on the main timeline (scene1)

can anyone help me with the coding and where i need to place it (within the main timeline or within the movieclip itself)??

to recap. i have a dropdown menu with buttons. the buttons do not act on the main timeline no matter where or how i point to them.

eg. on main timeline i have:  
kitchenmenu\_mc.coffeemachines\_btn.onRelease = function() {  
gotoAndPlay(“coffeemachines”);  
}

this does not work, either does:

(when placed within frame of movieclip)

coffeemachines\_btn.onRelease = function() {  
gotoAndPlay(“coffeemachines”);  
}

(when places on the button itself)

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