# FForward and Reverse

**URL:** <https://forum.kirupa.com/t/fforward-and-reverse/204223>\
**Category:** flash\
**Created:** [October 18, 2006, 2:56am UTC](https://forum.kirupa.com/t/fforward-and-reverse/204223 "2006-10-18T02:56:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seran128](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@seran128](https://forum.kirupa.com/u/seran128)\
**Post date:** [October 18, 2006, 2:56am UTC](https://forum.kirupa.com/t/fforward-and-reverse/204223/1 "2006-10-18T02:56:43Z")

</div>

I am using this code for my ff and rev buttons. I don’t like them but its all I have for now. I know there is a better way. If I press the ff button the video needs to advance by 1-2 seconds. If the user press the revers button it need to do the same but move back 1-2 seconds. I am using the FLVPlayer Component so doing ns.seek will not work.

my current code

```auto
//Rewind
rewind_btn.onRelease = function (){
    myPlayer.playheadTime = 0;
}
//Forward
forward_btn.onPress = function (){
    myPlayer.playheadTime = myPlayer.totalTime-1; }

```

any help would be appreciated
