qq空间html倒计时,空间倒计时flash代码,有图

stop(); //停止

_root.ss.xx1.onRollOver=function(){ //在主场景中的“ss”元件里的“xx1”元件添加按钮触及函数

_root.onEnterFrame=function(){ //主场景进入侦函数处理

_root.aa._x+=(1179-_root.aa._x)*0.2; //主场景的“aa”元件的X坐标=主场景“aa”元件+(1179-主场景“aa”元件的X坐标)*0.2

}

this._alpha=50; //这个元件的透明值设为“50”

};

_root.ss.xx1.onRollOut=function(){ //在主场景中的“ss”元件里的“xx1”元件添加按钮触及函数

this._alpha=100; //这个元件的透明值设为“100”

};

_root.ss.xx2.onRollOver=function(){ //在主场景中的“ss”元件里的“xx2”元件添加按钮触及函数

_root.onEnterFrame=function(){ //主场景进入函数侦处理

_root.aa._x+=((1179-179)-_root.aa._x)*0.2; // _root.aa._x= _root.aa._x+((1179-179)-_root.aa._x)*0.2上面有类似解释就不说了..

}

this._alpha=50; //这个元件透明值为“50”

}

_root.ss.xx2.onRollOut=function(){ //同上同理

this._alpha=100; //“alpha用来设透明值的

};

_root.ss.xx3.onRollOver=function(){ //接下来的与上面相同

_root.onEnterFrame=function(){

_root.aa._x+=((1179-179*2)-_root.aa._x)*0.2;

}

this._alpha=50;

}

_root.ss.xx3.onRollOut=function(){

this._alpha=100;

};

_root.ss.xx4.onRollOver=function(){

_root.onEnterFrame=function(){

_root.aa._x+=((1179-179*3)-_root.aa._x)*0.2;

}

_root.ss.xx4._alpha=50;

}

_root.ss.xx4.onRollOut=function(){

this._alpha=100;

};

_root.ss.xx5.onRollOver=function(){

_root.onEnterFrame=function(){

_root.aa._x+=((1179-179*4)-_root.aa._x)*0.2;

}

this._alpha=50;

};

_root.ss.xx5.onRollOut=function(){

this._alpha=100;

};

_root.ss.xx6.onRollOver=function(){

_root.onEnterFrame=function(){

_root.aa._x+=((1179-179*5)-_root.aa._x)*0.2;

}

this._alpha=50;

}

_root.ss.xx6.onRollOut=function(){

this._alpha=100;

};//函数结束

取消

评论

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值