# Seamless Loop f4v with flvplayback

**URL:** <https://forum.kirupa.com/t/seamless-loop-f4v-with-flvplayback/312531>\
**Category:** flash\
**Created:** [August 5, 2010, 7:31pm UTC](https://forum.kirupa.com/t/seamless-loop-f4v-with-flvplayback/312531 "2010-08-05T19:31:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodlab2x](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@rodlab2x](https://forum.kirupa.com/u/rodlab2x)\
**Post date:** [August 5, 2010, 7:31pm UTC](https://forum.kirupa.com/t/seamless-loop-f4v-with-flvplayback/312531/1 "2010-08-05T19:31:24Z")

</div>

I wonder how can I code this so the video loops perfectly, right now seems it stops for a bit and restarts.

import fl.video.\*;

// Video component instance name  
var flvControl:FLVPlayback = fzBackVideo;  
var flvSource:String = “videos/fzBackVideo.f4v”;

// Loop the video when it completes  
function completeHandler1(event:VideoEvent):void  
{  
flvControl.seek(0);  
flvControl.play()  
}  
flvControl.addEventListener(VideoEvent.COMPLETE, completeHandler1);

// Set video  
flvControl.source = flvSource;
