codice:MovieClip.prototype.moveRandom = function(posX, speed) { new Color(this).setRGB(0x0F5138); this._alpha = 20; this.onEnterFrame = function() { this._x += (posX - this._x) / speed; }; }; mc.moveRandom(400, 20);
codice:MovieClip.prototype.moveRandom = function(posX, speed) { new Color(this).setRGB(0x0F5138); this._alpha = 20; this.onEnterFrame = function() { this._x += (posX - this._x) / speed; }; }; mc.moveRandom(400, 20);