import fl.video.FLVPlayback;
import fl.video.VideoEvent;
my_FLVPlybk.source = "stella_hop.flv";
my_FLVPlybk.addEventListener(VideoEvent.COMPLETE, cp_listener);
function cp_listener(ev:VideoEvent):void {
trace(ev);
// hide video Player instance:
ev.target.visible = false;
// call function to load external SWF:
loadExternalSwfNow();
}
function loadExternalSwfNow() {
var request:URLRequest = new URLRequest("http://www.consolidatedsmart.com/beta/movies/main_pic.swf");
var loader:Loader = new Loader();
loader.load(request);
addChild(loader);
}
|