Gracias de antemano!!!
Código:
for (var i = 1; i<200; i++) { gota = this.attachMovie("agua", "agua"+i, i); gota._x = Math.floor(Math.random()*110+75); gota._y = Math.floor(Math.random()*576); gota._xscale = Math.floor(Math.random()*50+50); gota._yscale = Math.floor(Math.random()*50+50); gota._alpha = Math.floor(Math.random()*40+20); gota.yspeed = Math.floor(Math.random()*50+30); gota.onEnterFrame = function() { this._y += this.yspeed; if (this._y>=576) { this._y = 120; this._x = Math.floor(Math.random()*110+75); } if (this._x>=185 || this._x<=75) { this._y = 120; this._x = Math.floor(Math.random()*110+75); } }; } this.vapor2.swapDepths(200);