Skip to content

Categories:

Dual load

follow up from http://forums.adobe.com/thread/653605

 

i placed this code in

 

var ldr:Loader=new Loader();

ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,f)

ldr.load(new URLRequest(“gallery.swf”));

addChild(ldr);

 

function f(e:Event){

ldr.x=(stage.stageWidth-ldr.width)/2;

ldr.y=(stage.stageHeight-ldr.height)/2;

}

 

and am getting this

 

Capture.PNG


Learn Photoshop In Just 2 Hours

Original Post

Posted in Flash.

-->