点击浏览该文件 点击浏览该文件简单的步骤:
1:打开FLASH(废话)。
2:新建一MC,在里面画一个这样的东西,叫mc.
3:在第一帧输入AS:
radius = 80;
perspective = 350;
de = 1;
_quality = "LOW"; function go () {
nowy = _root.attachMovie("dot", "dx", de++);
nowy.x = random(50) + 200;
nowy._y = 330;
nowy.degrees = de;
nowy.onEnterFrame = function () {
this.angle = (this.degrees * Math.PI) / 180;
this.degrees +=6;
this.zposition = radius * Math.sin(this.angle);
this.distance = 1 / (1 - (this.zposition / perspective));
this._x = this.x + ((radius * Math.cos(this.angle)) * this.distance);
this._y -=4;
this._rotation +=this.angle;
this._xscale = this._yscale -=.5;
this._alpha--;
if (this._alpha < 0) this.removeMovieClip();
};
}; setInterval(go, 20);
4:ctrl+回车,OK了