flash 脚本AS3.0中,TypeError: Error #1010: 术语尚未定义,并且无任何属性。
第3和4个按钮,鼠标点上去图片无法跳转。TypeError:Error#1010:术语尚未定义,并且无任何属性。at_fla::MainTimeline/frame1()...
第3和4个按钮,鼠标点上去图片无法跳转。
TypeError: Error #1010: 术语尚未定义,并且无任何属性。
at _fla::MainTimeline/frame1()
代码:
xia_mc.pic1_btn.addEventListener(MouseEvent.CLICK,PICC1);
function PICC1(e:MouseEvent){
pic_mc.gotoAndPlay(1);
xia_mc.gotoAndPlay(1)
}
xia_mc.pic2_btn.addEventListener(MouseEvent.CLICK,PICC2);
function PICC2(e:MouseEvent){
pic_mc.gotoAndPlay(25);
xia_mc.gotoAndPlay(25)
}
xia_mc.pic3_btn.addEventListener(MouseEvent.CLICK,PICC3);
function PICC3(e:MouseEvent){
pic_mc.gotoAndPlay(50);
xia_mc.gotoAndPlay(50)
}
xia_mc.pic4_btn.addEventListener(MouseEvent.CLICK,PICC4);
function PICC4(e:MouseEvent){
pic_mc.gotoAndPlay(75);
xia_mc.gotoAndPlay(75)
}
求大神解决。 展开
TypeError: Error #1010: 术语尚未定义,并且无任何属性。
at _fla::MainTimeline/frame1()
代码:
xia_mc.pic1_btn.addEventListener(MouseEvent.CLICK,PICC1);
function PICC1(e:MouseEvent){
pic_mc.gotoAndPlay(1);
xia_mc.gotoAndPlay(1)
}
xia_mc.pic2_btn.addEventListener(MouseEvent.CLICK,PICC2);
function PICC2(e:MouseEvent){
pic_mc.gotoAndPlay(25);
xia_mc.gotoAndPlay(25)
}
xia_mc.pic3_btn.addEventListener(MouseEvent.CLICK,PICC3);
function PICC3(e:MouseEvent){
pic_mc.gotoAndPlay(50);
xia_mc.gotoAndPlay(50)
}
xia_mc.pic4_btn.addEventListener(MouseEvent.CLICK,PICC4);
function PICC4(e:MouseEvent){
pic_mc.gotoAndPlay(75);
xia_mc.gotoAndPlay(75)
}
求大神解决。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询