16平方铜线能带多少kw:关于flash的问题(如何点击按钮后跳到别的帧),在线等,谢谢!~

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/28 03:11:11
这个是代码,请问如何在上边加上点击后跳转到别的flash上的链接?谢谢了

zurl = new Array();
zurl[1] = "#";
zurl[2] = "#";
zurl[3] = "#";
zurl[4] = "#";
zurl[5] = "#";
zurl[6] = "#";

link = function () {
getURL(_root.zurl[this.num]);
};

overs = function () {
_root.fnum = this.num;
};

outs = function () {
_root.fnum = 0;
};

mstyle = function () {
this._x = _root["m"+this.mb.num2]._x+(_root["m"+this.mb.num2]._width/2+this._width/2);
if (_root.fnum == this.mb.num) {
tempx = this._xscale;
tempy = this._yscale;
this._xscale = 1.58*(this._xscale+14)+(-0.8)*(this.px+14)+20;
this._yscale = 1.58*(this._yscale+14)+(-0.8)*(this.py+14)+20;
this.px = tempx;
this.py = tempy;
} else {
tempx = this._xscale;
tempy = this._yscale;
this._xscale = 1.57*(this._xscale+1)+(-0.8)*(this.px+1)+20;
this._yscale = 1.57*(this._yscale+1)+(-0.8)*(this.py+1)+20;
this.px = tempx;
this.py = tempy;
}
};
for (i=1; i<=6; i++) {
_root["m"+i].mb.num = i;
_root["m"+i].mb.num2 = i-1;
_root["m"+i].mb.num3 = i+1;
_root["m"+i].mb.onRollOver = overs;
_root["m"+i].mb.onRollOut = outs;
_root["m"+i].mb.onRelease = link
_root["m"+i].onEnterFrame = mstyle;
}
boabc23 能不能写的清楚一点?俺是刚学的,都不太明白,我把zurl[1] = "on (Release){getURL("2.swf")}"; 但是会出现错误

点击后:goto(N);
N是要跳到的祯序号