gotoAndPlay from mc to main timeline
I'm trying to play a frame label that is on the main timeline by clicking on a button inside of a movieclip.
Here is the error I'm getting. I most definitely have a page1 label on the frame.
Code:
ArgumentError: Error #2109: Frame label page1 not found in scene Scene1.
at flash.display::MovieClip/gotoAndStop()
at site_fla::Navbarslider_5/btn1()
Here is my button code:
Code:
button1.addEventListener(MouseEvent.CLICK,btn1);
function btn1(e:MouseEvent):void {
MovieClip(parent).gotoAndStop("page1");
}
Any help is appreciated.