MovieClip.prototype.p_prevFrame = function() { this.onEnterFrame = function() { if (this._currentframe == 1) { delete this.onEnterFrame; } else { this.prevFrame(); } }; };