MovieClip.prototype.fadeTo = function(out, to, vel) { if (to == null) { if (out) { to = 0; } else { to = 100; } } if (out) { this.onEnterFrame = function() { if (this._alpha>to) { this._alpha -= vel; } else { this.onEnterFrame = null; } }; } else { this.onEnterFrame = function() { if (this._alpha