# Using flv's in flash

**URL:** https://forum.kirupa.com/t/using-flvs-in-flash/264462
**Category:** flash
**Created:** [June 26, 2008, 11:23am UTC](https://forum.kirupa.com/t/using-flvs-in-flash/264462 "2008-06-26T11:23:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![adnanoner](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@adnanoner](https://forum.kirupa.com/u/adnanoner)
#### Post date: [June 26, 2008, 11:23am UTC](https://forum.kirupa.com/t/using-flvs-in-flash/264462/1 "2008-06-26T11:23:49Z")

</div>

Hi there,

I’m currently working on a project where i’m using flv’s as animations between frames. Except I’ve bumped into two problems. I use a button to gotoandplay frame 2 where the movie is. Except when frame 2 is loading in between there’s a white flicker because the movie is still loading. Anyway to solve this? Secondly, I want the movie to automatically go to frame 3 when the movie is finished, how do i make that work?

Thanks in advance!  
Ad Oner

---

<div class="post-metadata">

### Author: ![adnanoner](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@adnanoner](https://forum.kirupa.com/u/adnanoner)
#### Post date: [June 27, 2008, 2:06pm UTC](https://forum.kirupa.com/t/using-flvs-in-flash/264462/2 "2008-06-27T14:06:08Z")

</div>

stop();  
import mx.video.\*;  
var listenerObject:Object = new Object();  
listenerObject.complete = function(eventObject:Object):Void {  
gotoAndPlay(3);  
};  
mFLV.addEventListener(“complete”, listenerObject);  
myFLV.contentPath = “pathname.flv”;

Where myFLV is the FLVPlayback instance in your frame

I resolved the flicker problem bij making an image of the first frame of the video behind the video…

Greets
