Can't stop rewinding

I’m using the Action Script posted below to instruction a button to rewind the root movie two frames at a time (and then stop when released). However, I need to find a way to make it automatically stop on the first frame. As it is, the function is rewinding into the previous scene…and nobody wants that. Any suggestions?

rewind_btn.onPress = function() {
_root.createEmptyMovieClip(“controller_mc”, 1);
controller_mc.onEnterFrame = function() {
_root.gotoAndStop(_root._currentframe-2);
};
};
rewind_btn.onRelease = function() {
controller_mc.removeMovieClip();
stop();
};