2043: Windows 11 10 ...
- (0)2042: ...
HTML : . - (0)HTML : . 3 ...
HTML : - (0)HTML : 4 ...
HTML : HTML - (0)HTML : HTML HTML 1 , ...
AS2 Adobe Flash CS6. |
AS2 Adobe Flash CS6. . 1 , . - . () ActionScript flocon , . , , , , . . : this.vitesse = random(4) + 1; this.coef = random(60) + 10; this._xscale = coef; this._yscale = coef; this._alpha = random(80) + 10; this._rotation = random(360); this.onEnterFrame = function () { this._y = this._y + vitesse; if (this._y > 440) { this._y = -10; this.vitesse = random(4) + 1; coef = random(60) + 10; this._xscale = coef; this._yscale = coef; this._alpha = random(80) + 10; this._rotation = random(360); } // end if }; , : stop (); for (i = 1; i <= 300; i++) { _root.attachMovie("flocon", "flocon" + i, i); _root["flocon" + i]._x = 10 + random(730); _root["flocon" + i]._y = 10 + random(530); } // end of for () () , ! * * * * * * () , . , - , - . ,, , . () s1 ,. () b1 : b1.onPress = function () { gotoAndStop(2); }; s1.onPress = function () { gotoAndStop(1); }; * * * * * * , -. , , , ActionScript, goutte ,. , , . , ,. , ,,, , . : coef = random(100); this._xscale = coef; this._yscale = coef; this._alpha = 100 - coef; this.onEnterFrame = function () { this._xscale = this._xscale + 3; this._yscale = this._yscale + 3; this._alpha = this._alpha - 3; if (_alpha <= 0) { this._x = 10 + random(730); this._y = 10 + random(550); coef = random(100); this._xscale = coef; this._yscale = coef; this._alpha = 100 - coef; } // end if }; 2 : stop (); for (i = 1; i <= 300; i++) { _root.attachMovie("goutte", "goutte" + i, i); _root["goutte" +i]._x = 10 + random(730); _root["goutte" +i]._y = 10 + random(550); } // end of for , . . Fla. |
: | /Flash- |