Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21861

Help VB6 load external swf

$
0
0
Hi guys, i need to load 2 Swf's in a row the primary & secundary
The two swf's allows to load the full movie any help?



i'm handling with some of this movie's

Quote:

var my_Loader:Loader = new Loader();

var my_loadedSwf:MovieClip;

my_Loader.contentLoaderInfo.addEventListener(Event.COMPLETE, finishLoading);
my_Loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);


my_Loader.load(new URLRequest("movie2.swf"));


function finishLoading(loadEvent:Event) {
my_loadedSwf = loadEvent.currentTarget.content;

addChild(my_loadedSwf);

my_loadedSwf.testing();
}

function errorHandler(errorEvent:Event):void {
trace("file not found");
}

Viewing all articles
Browse latest Browse all 21861

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>