请大家帮忙看一看这个按纽为什么要点击两次才能跳到指定帧(在线等待)
Posted on 八月 16rd, 2007 由 admin
请大家帮忙看一看这个按纽为什么要点击两次才能跳到指定帧
代码如下:
on (release) {
xy.onrelease = function() {
if (xuyuan.length>12) {
gotoandplay(2);
} else {
gotoandplay(3);
}
};
stopallsounds();
}
还有这个:
on (release) {
stopallsounds();
cl.onrelease = function() {
gotoandplay(1);
xuyuan1="";
};
}
谢谢!!!!!!
推荐阅读
网友:egoldy
你使用了两次onrelease 当然会按两次.
在flash mx中其实
on(release){
.....
}
和
cl.onrelease=function(){
.......
}
作用是一样的.ok!
网友:ietey
up
网友:lewfn
这两段代码是同一个鼠标事件吗?那为什么不放到一起,而放在两个on(release)中呢?
.

讨论区