Playing Movie Backwards

Ok so i’m using this code to play the timeline backwards when a button is clicked:

On the 1st frame:

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

On the button:

on(release){
this.playBackwards();
}

Ok so it works fine, just how I want, EXCEPT I want it to play backwards until and stop when I tell it do. I have stop actions but it seems to just go streight past them without stoping. WTF!! Why? Is there somethin else I need to add? It just plays backwards right to the start of the timeline…

Help please, I need this answered ASAP :slight_smile: