level 1
Kyoya13VX4
楼主
flash as3.0 中,为什么我用了一次gotoAndPlay,第二段再加上就提示我错误了? this.zs_mc.stop(); this.zs_btm.addEventListener(MouseEvent.CLICK,onClick) function onClick(e:MouseEvent):void{ this.zs_mc.gotoAndPlay(1); } this.gc_btm.addEventListener(MouseEvent.CLICK,onClick1) function onClick1(e:MouseEvent):void{ this.gc_mc.gotoAndPlay(1); } 我的想法很简单,就是按一个按钮播放一个东西。为什么我只输第一段的时候可以,输第二段的时候说我“调用可能未定义的方法 gotoAndPlay?名字都没错
2014年03月22日 12点03分
1