# Deep buttons within a header

**URL:** <https://forum.kirupa.com/t/deep-buttons-within-a-header/305664>\
**Category:** Uncategorized\
**Created:** [March 1, 2010, 5:13pm UTC](https://forum.kirupa.com/t/deep-buttons-within-a-header/305664 "2010-03-01T17:13:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unregistered00](https://avatars.discourse-cdn.com/v4/letter/u/e480ec/32.png) [@Unregistered00](https://forum.kirupa.com/u/Unregistered00)\
**Post date:** [March 1, 2010, 5:13pm UTC](https://forum.kirupa.com/t/deep-buttons-within-a-header/305664/1 "2010-03-01T17:13:37Z")

</div>

I have buttons in my header and the header has animations on it so I have no choice but to place the buttons deep inside the header movieclip. Now, the problem is that the actionscript on the main timeline can’t access the buttons.

Here is a sample of my actionscript:

about.addEventListener(MouseEvent.CLICK, clickSection);

If I place the button on the main time line. I get no errors. But when I place the button deep inside the header, I can’t seem to access it.

I checked the layers and it indicated “Scene 1”, “Header2”, “Header”, and at the very end of that are the buttons so I tried doing this:

Scene1.Header2.Header.about.addEventListener(MouseEvent.CLICK, clickSection);

I obviously failed. Is there a way to make this work?
