Connaissez vos classiques! è_é
Dont le générique de Pokémon!
HS:
Ouloul:
# MovieClip.prototype.drawCell = function() {
# this.activ = true;
# for (var i = random(5)+1; i>=0; i--) {
# var radius = (Math.random()*40)*3;
# var coul = Math.random()*0xffffff;
# this.lineStyle(0, 0, 1);
# this.moveTo(radius, 1);
# this.beginGradientFill("radial", [coul, coul], [random(50), random(50)], [random(255), random(255)], {a:radius*2, b:0, c:0, d:0, e:radius*2, f:0, g:0, h:0, i:0});
# for (var n = 0; n# this.lineTo(Math.cos(n)*radius, Math.sin(n)*radius);
# }
# this.endFill();
# }
# };
# MovieClip.prototype.naissance = function(speed) {
# this._alpha = 100;
# this._x = random(300)+50;
# this._y = random(300)+50;
# this._xscale = this._yscale=10;
# this.speed = speed;
# };
# MovieClip.prototype.vit = function() {
# this._xscale = this._yscale += (110-this._xscale)*(this.speed/100);
# this._alpha = 110-this._yscale;
# if (this._yscale>100) {
# this.naissance(random(10)+1);
# }
# };
# for (var u = 0; u<10; u++) {
# c = this.createEmptyMovieClip("m"+u, u);
# c.drawCell();
# c.naissance(random(10)+1);
# }
# this.onEnterFrame = function(){
# for(var f in this){
# if(this[f].activ){
# this[f].vit();
# }
# }
# };