Page 1 of 1

calling one swf in another swf

Posted: Mon Nov 24, 2008 6:24 am
by adroit
Hi All,

I have 2 swf files A and B. In swf B there is a form in which there is a listbox control, when I run swf B it shows me the listbox, but when I try to call swf B in swf A it does not show the listbox control. please help

Thanks in advance.

Regards

Re: calling one swf in another swf

Posted: Mon Dec 01, 2008 7:39 pm
by josh
loadMovie command

Re: calling one swf in another swf

Posted: Sun Jan 11, 2009 3:27 pm
by jason.carter
OR try

var loader:Loader = new Loader;
addChild(loader);
loader.load(new URLRequest(".//fileName.swf"));

To detect SWF finished loading
You can add a listener: loader.contentLoaderInfo.addEventListener(Event.CO MPLETE,HandleLoadedSwf);