【代码片段】简易de幻灯片-解说prevScene() & nextScene()方法
//停止场景自动切换; stop(); //按下next按钮 next_btn.addEventListener(MouseEvent.CLICK,next_scene); function next_scene(me:MouseEvent){ nextScene(); } //按下back按钮 back_btn.addEventListener(MouseEvent.CLICK,back_scene); function back_scene(me:MouseEvent){ prevScene(); }