# Nested button question

**URL:** https://forum.kirupa.com/t/nested-button-question/222721
**Category:** Uncategorized
**Created:** [April 16, 2007, 3:31pm UTC](https://forum.kirupa.com/t/nested-button-question/222721 "2007-04-16T15:31:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ataylor13](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@ataylor13](https://forum.kirupa.com/u/ataylor13)
#### Post date: [April 16, 2007, 3:31pm UTC](https://forum.kirupa.com/t/nested-button-question/222721/1 "2007-04-16T15:31:52Z")

</div>

hello all,

on the main stage I have these movieClips

nav\_mc - navigation movieclip  
main\_mc - main movieclip

in my action layers I have this:

//defines button  
var master\_btn:Button; - this is a nested btn inside of nav\_mc

// nested nav button actions  
nav\_mc.master\_btn.onPress=function(){  
\_parent.main\_mc.gotoAndStop(“master”);  
}

it does not move the playhead inside of the main\_mc… any thoughts…?

thanks  
Aaron
