Using flv's in flash

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

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