Forward reverse effect

i have a video in the center of my project, at the bottom are 2 bottons (forward and reverse)

when you roll over the ‘forward’ button i want to play the video one frame at a time forwards, and vice versa for the reverse. could someone help me with the code please.

thank you.

Is that video contained in a movieclip ? And also, how fast do you want it to move forward and backward ? One frame at a time doesn’t really say much …

This is a very ez way of creating the effect you are looking for. This is the code you put on the movie in question.

onClipEvent (load){
_root.speed=0;
}

onClipEvent (enterFrame){
if(_root.speed<0){
gotoAndStop(prevFrame());
}
if(_root.speed>0){
gotoAndStop(nextFrame());
}
}

Then on the button, you can simply add this:
//for reserve
on (rollOver){
_root.speed=-1;
}
on (rollOut){
_root.speed=0;
}

//for foward
on (rollOver){
_root.speed=1;
}
on (rollOut){
_root.speed=0;
}

:slight_smile: woj