# Flv file loaded to control next clip

**URL:** <https://forum.kirupa.com/t/flv-file-loaded-to-control-next-clip/255838>\
**Category:** Uncategorized\
**Created:** [March 27, 2008, 1:49pm UTC](https://forum.kirupa.com/t/flv-file-loaded-to-control-next-clip/255838 "2008-03-27T13:49:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clarem001](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@clarem001](https://forum.kirupa.com/u/clarem001)\
**Post date:** [March 27, 2008, 1:49pm UTC](https://forum.kirupa.com/t/flv-file-loaded-to-control-next-clip/255838/1 "2008-03-27T13:49:22Z")

</div>

Hi there,

I wonder if any of you out there can help with this. Im relatively new to AS and especially AS3. I have loaded an flv into my main stage movie using an external call to load the flv.

However once the flv video file is finished i need to call yet another external swf file to play.

I’ve called the flv file (which is in labs\_clip.swf) from my main movie by using this…

stop()  
var myrequest:URLRequest=new URLRequest(“labs\_clip.swf”);  
var myloader:Loader=new Loader();  
myloader.load(myrequest);

function swfLoaded(myevent:Event):void{  
stage.addChild(myloader);  
var mycontent:MovieClip=myevent.target.content;  
mycontent.x=0;  
mycontent.y=30;  
}  
myloader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);

Can anyone help I have to have this done by Monday…no pressure then : )

Thanks in advance
