Hi
I need show the page2 when I click the button1 I have the error # 1061,
Please advise.
My function below.
function button1_clicked(e:MouseEvent):void{
gotoAndStop("page2");
}
button1.addEventListener(MouseEvent.CLICK, button1_clicked);
1061: Call to a possibly undefined method addEventListener through a reference with static type Class