请大家帮忙看一看这个按纽为什么要点击两次才能跳到指定帧(在线等待)
请大家帮忙看一看这个按纽为什么要点击两次才能跳到指定帧
代码如下:
on (release) {
xy.onRelease = function() {
if (xuyuan.length>12) {
gotoAndPlay(2);
} else {
gotoAndPlay(3);
}
};
stopAllSounds();
}
还有这个:
on (release) {
stopAllSounds();
cl.onRelease = function() {
gotoAndPlay(1);
xuyuan1="";
};
}
谢谢!!!!!!