請問這一段語法

Home Home
引用 | 編輯 t0306894
2005-02-08 11:25
樓主
推文 x0
_quality = "low";
this.createEmptyMovieClip("mc", 1);
mc.c = 10;
mc.onEnterFrame = function() {
this._parent.attachMovie("particle", "p"+this.c, this.c);
this._parent["p"+this.c].onLoad = function() {
this.wl = 50+50*Math.random();
this.ampl = 1;
this.as = 5*Math.random();
this.sp = 3+1*Math.random();
this.bx = 200;
this._y = 300;
this._x = this.bx;
};
this._parent["p"+this.c].onLoad();
this._parent["p"+this.c].onEnterFrame = function() {
this._x = this.bx+(this.ampl*Math.sin((this._y)/this.wl));
this._y -= this.sp;
this.ampl += this.as;
};
this.c++;
};
stop();
有那位大大可以幫我解釋這一段語法呢

獻花 x0