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.