Stopping a rewind

I have a rewind button called previous_s1 but I would like it to rewind ten frames and then stop. It would also work if I can make it stop on a certain frame. Does anyone know how to do this. This is the code I have so far but it rewinds the entire movie.

function previouss1(event:MouseEvent):void {
function rewind(event:Event):void