//敌人自动追击主角的代码stage.addEventListener(Event.ENTER_FRAME,event_fn);functionevent_fn(ev:Event):void{moon_mc.x=mouseX;moon_mc.y=mouseY;...