Si alguien me puede decir como hacerlo.
Gracias
Código:
MovieClip.prototype.fadeIn = function() { this.onEnterFrame = function() { this._alpha>=100 ? this.onEnterFrame=null : this._alpha += 10; }; }; MovieClip.prototype.fadeOut = function() { this.onEnterFrame = function() { this._alpha<=0 ? this.removeMovieClip() : this._alpha -= 10; }; }; MovieClip.prototype.mazul = function(mazul) { this.useHandCursor = false; this.onRollOver = function() { mc2 = _root.attachMovie("glove2", "glove2"+this._name, 1000, {_x:_xmouse+5, _y:_ymouse+25, _alpha:0}); mc2.fadeIn(); mc2.txt.text = mazul; this.onMouseMove = function() { mc2._x = _xmouse+5; mc2._y = _ymouse+25; mc2.txt.text = mazul; }; }; this.onRollOut = function() { this.onMouseMove = null; mc2.fadeOut(); }; }; mc2.mazul("Poemas");