bnt1.onRollOver = function(){ pincelada.onEnterFrame = function(){ if (this._currentframe != 10) { this.nextFrame(); } else { this.stop(); delete this["onEnterFrame"]; } // end if } }; bnt1.onRollOut = function(){ pincelada.onEnterFrame = function(){ if (this._currentframe != 1) { this.nextFrame(); } else { this.stop(); delete this["onEnterFrame"]; } // end if } };