Preloading all external images at once

Hi,

Im using a mix between xml and loadClip to dynamically load the content of a photogallery into my swf. Everything is working fine except the preloader. I know how to make a preloader for each individual image using this function:

myListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number){
//blah blah
}

However for this particular project it does not matter when each individual image is loaded, but rather I need to know when the whole lot is done. Does anyone know how I can do this… it could be that Im using the wrong approach and maybe I can solve this with some kind of a onLoad(success) type function on the xml part of the code.

Im stuck. Please help, deadlines tomorrow!

Thanks in advance,

J