btn1.addEventListener(MouseEvent.Click, onBtnClick);function onBtnClick(e:MouseEvent):void{ gotoAndStop(1);}