Delete frame on stop();

Hi there, I have a simple script that rewinds a movieclip I made. In the movieclip there are two stops. The movie plays fine and stops at my **stop();**s when it’s going forward. But when it moves backwards, it doesn’t respond. What do I need to ad to make this stop at my **stop();**s?


function playBackwards(mc){
 mc.onEnterFrame = function() {
    if (this._currentframe != 1) {
        this.prevFrame();
    }
    else {
        delete this.onEnterFrame;
    }
 };
}

Something like, if (stop(); ) = stop(); …you get my pointC:-)

Thanks!