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
calling one swf in another swf
Moderator: General Moderators
Re: calling one swf in another swf
loadMovie command
-
jason.carter
- Forum Commoner
- Posts: 35
- Joined: Sat Jan 10, 2009 10:05 am
Re: calling one swf in another swf
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);
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);