function irFrame(event:MouseEvent):void { gotoAndStop(300); } btn.addEventListener(MouseEvent.CLICK, irFrame); stop();