[AS2] Load Multiple Files?

I’ve got a slideshow that loads multiple jpgs. I’d like to tell the code to start loading all of the images even though they aren’t going anywhere yet. This way when the slideshow does call for them, there will be little to no load time. A load queue of sorts.

It doesn’t even necessarily have to do file1, then file2, then file3, etc, though that’d be nice, even just getting them all going simultaneously would help.

Here’s what I’ve tried that doesn’t work:


var myMCL1 = new MovieClipLoader();
myMCL1.loadClip("Images/Home/1.jpg");
var myMCL2 = new MovieClipLoader();
myMCL2.loadClip("Images/Home/2.jpg");
var myMCL3 = new MovieClipLoader();
myMCL3.loadClip("Images/Home/3.jpg");
var myMCL4 = new MovieClipLoader();
myMCL4.loadClip("Images/Home/4.jpg");
var myMCL5 = new MovieClipLoader();
myMCL5.loadClip("Images/Home/5.jpg");
var myMCL6 = new MovieClipLoader();
myMCL6.loadClip("Images/Home/6.jpg");

I have this on an actions frame that spans the whole project.

When the code actually comes to loading the image into its place, I notice that it is not sped up at all from this, it appears that it is still loading the image for the first time when attempting to pull the image in.