Loading large external swfs into main swf, avoid delay in loading time
Hello Everyone,
I have numerous large swfs that I am placing into a main swf using different buttons. I am experiencing quite a delay when the external .swfs are called to load and play (because of their size). (Note: I do not experience any delay in loading the external swfs when playing the main swf locally, however when burned to a CD, the large external swfs load very slowly into the main swf each time their button is clicked.) The code I use to load the swfs:
var Lesson1_Loader:Loader;
Lesson1_Loader = new Loader();
Lesson1Numberbtn.addEventListener(MouseEvent.CLICK, playL1);
function playL1(e:Event):void
{
Lesson1_Loader.load(new URLRequest("Lesson1.swf"));
addChild(Lesson1_Loader);
}
My question: Is there a way to have the external swfs start loading themselves (but not playing) when the main swf is opened (there is an introductory animation in the main swf before any external swfs are played), so that when I click each button and addChild for each external swf, it is already loaded and will play instantly without delay?
Thank you in advance!
