Hello all.
I’ve tried loading a .swf file externally into another .swf file on my local drive, and it works. Now, when I try to Simulate Download, the preloader in the 2nd file doesn’t get played and the images in there take a while to get displayed.
I need to load a .swf file from a server into the parent .swf file(I’m working on using a “thin flash file” for added security for the company I work for - blank file which loads the content from another file on their server).
So far, I have:
try
{
var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest = new URLRequest("newBook.swf");
myLoader.load(url);
}
catch (e:Error)
{
trace("ruhroh");
}
When I replace the “newBook.swf” with the URL of another .swf, there’s just a blank page.
I’m not too sure how to proceed, and I hope you will be able to help me out. I’d greatly appreciate the help.
Many thanks,
-Nazgul