Hello everyone i am fairly new to flash and am having some problems with my movie.

I am trying to rotate an object through the use of buttons. I have it working to an extend, but not exactly the way i require.

This is the actionscript i am currently using:

stop();
play_btn.onRelease = function (){
play();
}
pause_btn.onRelease=function(){
stop();
}
forward_btn.onPress=function (){
_root.createEmptyMovieClip("controller_mc",1);
controller_mc.onEnterFrame=function(){
_root.gotoAndStop(_root._currentframe+3);
if (_root._currentframe+3>_root._totalframes) {
_root.gotoAndStop(_root._totalframes);
}
}
}
forward_btn.onRelease=function (){
controller_mc.removeMovieClip();
}
forward_btn.onReleaseOutside=function (){
controller_mc.removeMovieClip();
}
rewind_btn.onPress=function (){
_root.createEmptyMovieClip("controller_mc",1);
controller_mc.onEnterFrame=function(){
_root.gotoAndStop(_root._currentframe-3);
if (_root._currentframe-3 < 1){
_root.gotoAndStop(1);
}
}
}
rewind_btn.onRelease=function (){
controller_mc.removeMovieClip();
}
rewind_btn.onReleaseOutside=function (){
controller_mc.removeMovieClip();
}

I have four buttons, Rewind, Pause, Play and fastforward.

The problem that i have is when you push any of these buttons it will only play the frames on the timeline and stop. Basically what i want is for the movie to keep playing (repeating frames on timeline) until i release the mouse button.

Ive tried to explain it best i can.
Can anyone give me any help?


Thanks
Robert