# FLVPlayback component

**URL:** https://forum.kirupa.com/t/flvplayback-component/267917
**Category:** flash
**Created:** [August 7, 2008, 9:45am UTC](https://forum.kirupa.com/t/flvplayback-component/267917 "2008-08-07T09:45:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![klouna](https://avatars.discourse-cdn.com/v4/letter/k/67e7ee/32.png) [@klouna](https://forum.kirupa.com/u/klouna)
#### Post date: [August 7, 2008, 9:45am UTC](https://forum.kirupa.com/t/flvplayback-component/267917/1 "2008-08-07T09:45:55Z")

</div>

Please advice on the following inquiry:  
I use FLVPlayback component and I want to create a button which will rewind a frame back. Encoding the flv sets the keyframes. Is there a way to take all the keyframes (in order to set the logic for the button), or should I the last one I have gone trough? I need the keyframes because “seek()” sends to keyframe. The logig for the one-frame-forward button is:  
var listenerObject:Object = new Object();  
var lastTime:Number=0;  
listenerObject.playheadUpdate = function(eventObject:Object):Void {  
trace("playhead time is: " + eventObject.playheadTime);  
lastTime=eventObject.playheadTime;  
};  
my\_FLVPlybk.addEventListener(“playheadUpdate”, listenerObject);  
my\_FLVPlybk.seek(lastTime+(1/my\_FLVPlybk.metadata.framerate));
