打印

[特效] 高手们,江湖救急啊。。。链接地址失效的

在这个里面怎么加链接地址啊?好像那个链接地址不起作用的,加过了


版主,别删,因为那个供求区发不出去,真的很急,帮帮忙啊!

myURL = ["http://www.blueidea.com", "http://www.blueidea.com", "http://www.blueidea.com", "http://www.blueidea.com", "http://www.blueidea.com", "http://www.blueidea.com"];
for (i=1; i<=6; i++) {

       sub[i].onRollOver = function() {
              _global.over = this._parent._parent._name;
              subOver = this._name;
       };
       sub[i].onRollOut = sub[i].onDragOut=function () {
              _global.over = mainActive;
              subOver = subActive;
       };
       sub[i].onRelease = function() {
              getURL(myURL[this._name-1], "_self");

       };
}
sub.bar.onEnterFrame = function() {

       if (subOver) {
              this._x += (this._parent[subOver]._x-this._x)/6;

              this._xscale += (this._parent[subOver]._width+20-this._xscale)/6;
       } else {
              this._xscale = 0;
       }
};


是这段改链接地址吗?可是没用啊。。急啊。。

[ 本帖最后由 zuzulu 于 2008-6-10 17:01 编辑 ]
附件: 您所在的用户组无法下载或查看附件,您需要注册/登录后才能查看!
点menu2 元件  第10帧有代码  AS2的代码就是这么乱的
复制内容到剪贴板
代码:
myURL = ["category21.htm", "category22.htm", "category23.htm", "category24.htm"];
for (i=1; i<=6; i++) {
    sub[i].onRollOver = function() {
        _global.over = this._parent._parent._name;
        subOver = this._name;
    };
    sub[i].onRollOut = sub[i].onDragOut=function () {
        _global.over = mainActive;
        subOver = subActive;
    };
    sub[i].onRelease = function() {
        getURL(myURL[this._name-1], "_self");
    };
}
sub.bar.onEnterFrame = function() {
    if (subOver) {
        this._x += (this._parent[subOver]._x-this._x)/6;
        this._xscale += (this._parent[subOver]._width+20-this._xscale)/6;
    }else{
        this._xscale = 0;
    }
};
你敢说我不英俊吗?FLASH CS3群:51180994
上面那段就是第10针上拿下来的,我就是没看懂,我也改了myURL = ["category21.htm", "category22.htm", "category23.htm", "category24.htm"];
里面的地址,为什么就是没有链接呢?鼠标点击上去没反应的
急死人了,大家帮帮偶吧。。。。

TOP

还在为头像烦恼?还在为不能关注好友动态烦忧?快来蓝色理想家园吧!
郁闷死了,竟然在别人机子可以有链接的,我这儿就是链接不到,不好意思啊。。。为什么响应不到IE呢,人家那里是火狐浏览器

TOP

他那里火狐是默认浏览器,而我这是ie是默认的,但是响应不到,是不是上面那段代码里有问题啊?

TOP