contenido._alpha = 0; contenido.cont =0; contenido.onEnterFrame = function() { this._alpha += 10; cont++; trace("jop"); if (this.cont == 10) { delete this.onEnterFrame; } };