//定时检测变量gotoFrameAutovar gotoFrameAuto:int=1;var chekgo:Timer=new Timer(1000,0);chekgo.addEventListener(TimerEvent.TIMER,chekFrames);internal function chekFrames(e:TimerEvent):void{ gotoAndPlay(gotoFrameAuto);}chekgo.start();