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?