圆圆的月儿在天边挂:帮忙解释这个flah代码
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/15 10:02:00
Active_x = 0;
Status_x = 0;
_root.onState= false;
targety=-150;
Active_a= 1;
xacc=5;
img_2.onEnterFrame=function(){
startx = note._x;
acc = targety-startx;
note._x=startx+(acc/xacc);
}
_root.btn_1.onRollOver = function(){
targety=70;
if(!_root.onState || _root.Active_x != 1) {
_root.mn_1.gotoAndPlay("start");
_root["mn_"+_root.Active_x].gotoAndPlay("end");
_root.Active_x = 1;
_root.onState = true;
}
};
_root.btn_2.onRollOver = function(){
targety=157;
if(!_root.onState || _root.Active_x != 2) {
_root.mn_2.gotoAndPlay("start");
_root["mn_"+_root.Active_x].gotoAndPlay("end");
_root.Active_x = 2;
_root.onState = true;
}
};
_root.btn_1.onRelease = function(){
getURL("#");
}
_root.btn_2.onRelease = function(){
getURL("#");
}
要详细的!!!!!!!!!!!!!!超级详细
Status_x = 0;
_root.onState= false;
targety=-150;
Active_a= 1;
xacc=5;
img_2.onEnterFrame=function(){
startx = note._x;
acc = targety-startx;
note._x=startx+(acc/xacc);
}
_root.btn_1.onRollOver = function(){
targety=70;
if(!_root.onState || _root.Active_x != 1) {
_root.mn_1.gotoAndPlay("start");
_root["mn_"+_root.Active_x].gotoAndPlay("end");
_root.Active_x = 1;
_root.onState = true;
}
};
_root.btn_2.onRollOver = function(){
targety=157;
if(!_root.onState || _root.Active_x != 2) {
_root.mn_2.gotoAndPlay("start");
_root["mn_"+_root.Active_x].gotoAndPlay("end");
_root.Active_x = 2;
_root.onState = true;
}
};
_root.btn_1.onRelease = function(){
getURL("#");
}
_root.btn_2.onRelease = function(){
getURL("#");
}
要详细的!!!!!!!!!!!!!!超级详细