FLASH文字特效六合一

来源:PConline 作者:flashsj 2006-02-24 出处:pcdog.com

特效  图层  文字特效  
上一页 1 2 3 4 5 6 7 8 9 下一页 
特效3(mc random x&y)

a=this._x;

b=this._y;

if (Number(a)!=_root.rancon:x[i] or Number(b)!=_root.rancon:y[i]) {

this._x=this._x+(_root.rancon:x[i]-Number(a))/15;

this._y=this._y+(_root.rancon:y[i]-Number(b))/15;

//read the origan values in the rancon mc and set step number!

chax=Math.abs(this._x-_root.rancon:x[i])

chay=Math.abs(this._y-_root.rancon:y[i])

if(Number(chax)<1 && Number(chay)<1){

this._x=_root.rancon:x[i];

this._y=_root.rancon:y[i];

}

this._alpha = this._alpha+5;

gotoAndPlay (2);

} else {

this._alpha = 100;

stop ();

}

//通过利用random()随机函数控制字母的_y和_x属性,来达到字母随机出现在舞台上,//并渐显的效果


更多内容请看PCdog.com--Photoshop精彩特效大全专题
上一页 1 2 3 4 5 6 7 8 9 下一页 
上一篇:用Flash MX模拟舞台五彩灯
下一篇:用FLASH制作抢手棋