How to: simple frame back and forward?

Hey All,
Im trying to make buttons to advance a frame and retract a frame.

So I have this for the forward button…

on(release){
play();
}

with a stop(); on each frame.

But is there a way to play in reverse?

Any help is appreciated.

Thanks,
Limitlis