# Easy Scripting Question, Not Easy for me though

**URL:** <https://forum.kirupa.com/t/easy-scripting-question-not-easy-for-me-though/249568>\
**Category:** flash\
**Created:** [January 20, 2008, 8:01am UTC](https://forum.kirupa.com/t/easy-scripting-question-not-easy-for-me-though/249568 "2008-01-20T08:01:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marvicus](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@marvicus](https://forum.kirupa.com/u/marvicus)\
**Post date:** [January 20, 2008, 8:01am UTC](https://forum.kirupa.com/t/easy-scripting-question-not-easy-for-me-though/249568/1 "2008-01-20T08:01:41Z")

</div>

Hello,

I am pretty new to scripting in AS3 and want to be able to creat a drop down menu. I’ve created the menu and have the mouse overs and outs working perfectly. But I need to be able to make the actual buttons inside my movie clips work. I want to click the button and have it navigate to Scene1 (parent) and then go to a frame label. I’ve written the following script:

btnAboutAuthor.addEventListener(MouseEvent.CLICK,navAbout);  
function navAbout(event:MouseEvent):void {  
\_parent.gotoAndStop(“about”);  
}

btnAboutAuthor is the instance name of the button. problem is that when I test this clip I get an error:

1120: Access of undefined property \_parent.

Can anyone help me with this. I’m sure it’s a pretty simple fix, but can’t find anything on the net that shows how this is done. Thanks.
