Return to Snippet

Revision: 25976
at April 15, 2010 05:42 by adrianparr


Initial Code
var ldr:Loader = new Loader();
ldr.load(new URLRequest("toLoad.swf"));
ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded, false, 0, true);
function loaded(event:Event):void {
	addChild(event.target.content);
}

Initial URL

                                

Initial Description

                                

Initial Title
AS3 Loading and Displaying an External SWF File

Initial Tags
load

Initial Language
ActionScript 3