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;
};//函數結束
取消
評論
總結
以上是生活随笔為你收集整理的qq空间html倒计时,空间倒计时flash代码,有图的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: bat批处理教程
- 下一篇: Vegas中的Vignette暗角视频特