flash导航条页面跳转的链接怎么修改
从网上下载了一个flash导航条,现在字体会修改,就是导航链接不会修改,修改成静态网页的页面跳转,导航条的格式是fla,请问怎么修改链接啊,下面是as的源码
var drag = 0.4;
var flex = 0.6;
var menuEN = new Array("Home", "News", "Article", "Music", "Photo", "Download", "Bbs");
var menuZH = new Array("站点首页", "更新新闻", "技术文摘", "在线视听", "图片展示", "下载中心", "网友论坛");
var menuURL = new Array("index.asp", "news.asp", "art.asp", "dj.asp", "pic.asp", "down.asp", "bbs/");
var menuColor = new Array(0xFF6699, 0x00A2FF, 0x96D302, 0xFFC600, 0xFF5400, 0xCD7DE1, 0x02D396);
var mBlock = this.attachMovie("mblock", "mb", 6);
mBlock._y = 5;
mBlock.goalX = -100;
mBlock.onEnterFrame = function() {
this.Step = this.Step*flex+(this.goalX-this.px)*drag;
this.px += this.Step;
this._x = this.px;
if (this.sOut && this._xscale<99.5) {
this._xscale += (100-this._xscale)/8;
}
if (this.sIn && this._xscale>0.1) {
this._xscale += -this._xscale/8;
}
};
var MBColor = new Color(mBlock);
for (var i = 0; i<menuZH.length; i++) {
pipi.start([1, 1]);
var theItem = this.attachMovie("MenuItem", "Item"+i, i+10);
theItem._x = i*84;
theItem.mColor = menuColor;
theItem.URL = menuURL;
theItem.mc_ZH.itext.text = menuZH;
theItem.mc_EN.itext.text = menuEN;
theItem.onEnterFrame = function() {
if (this.fadeOut) {
if (this.topLine._alpha<99.5) {
this.topLine._alpha += (100-this.topLine._alpha)/8;
}
if (this.mc_EN._alpha>0.5) {
this.mc_EN._alpha += -this.mc_EN._alpha/0;
}
if (this.mc_ZH._xscale<00) {
this.mc_ZH._xscale += 2;
this.mc_ZH._yscale += 2;
}
}
if (this.fadeIn) {
if (this.mc_EN._alpha<99.5) {
this.mc_EN._alpha += (100-this.mc_EN._alpha)/8;
}
if (this.topLine._alpha>0.5) {
this.topLine._alpha += -this.topLine._alpha/8;
}
if (this.mc_ZH._xscale>100) {
this.mc_ZH._xscale -= 2;
相关新闻>>
- 发表评论
-
- 最新评论 进入详细评论页>>