Loading Images one by one

I’m writing an Action Script program that allows the viewer to click through a series of images one by one. The SWF file will load up to 50 images at a time at approximately 300k each. I don’t want the viewer to have to wait for all the images to load until he can start viewing.

Is it possible to load the first image so that it pops up right away then load the following images one after another? The idea is that as the viewer is looking at image 1, image 2 is loading, etc… How is this done?

Here’s what I have. Right now, nothing shows until everything is loaded:


            for(var i:Number = 0; i < count; i++)
            {
                //Creates Array of URLRequests
                var pathToPage:String = folder + "/" + (i+1) + ".jpg";
                _pageReqArr* = new URLRequest(pathToPage);
                
                //Creates Array of Loaders
                _pageLoaderArr* = new Loader();
                _pageLoaderArr*.load(_pageReqArr*);
                
                //Adds Loaded Images to Stage
                this.addChild(_pageLoaderArr*);
          }