# Nested buttons not talking to main timeline

**URL:** https://forum.kirupa.com/t/nested-buttons-not-talking-to-main-timeline/123799
**Category:** Uncategorized
**Created:** [September 27, 2004, 2:14pm UTC](https://forum.kirupa.com/t/nested-buttons-not-talking-to-main-timeline/123799 "2004-09-27T14:14:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wjc78](https://avatars.discourse-cdn.com/v4/letter/w/22d042/32.png) [@wjc78](https://forum.kirupa.com/u/wjc78)
#### Post date: [September 27, 2004, 2:14pm UTC](https://forum.kirupa.com/t/nested-buttons-not-talking-to-main-timeline/123799/1 "2004-09-27T14:14:58Z")

</div>

Can anyone tell me why this code is not working? Basically I am trying to get buttons that I have in a drop down menu load an external .swf into an empty movie clip placed on the main timeline. However for some reason it is not working. The buttons are contained in a movie called “menuItems” which is then placed in a movieclip called “mainMenu” which is then placed on the main timeline.

on (release) {  
\_parent.gotoAndPlay(“reverse”);  
if (\_root.\_root.\_root.currMovie == undefined) {  
\_root.\_root.\_root.currMovie = “personalData”;  
container.loadMovie(“personalData.swf”);  
} else if (\_root.\_root.\_root.currMovie != “personalData”) {  
if (container.\_currentframe \>= container.midframe) {  
\_root.\_root.\_root.currMovie = “personalData”;  
container.play();  
}  
}  
}
