XML pre-loader, how do I make one?

I’m using an xml file to load a number of images, this works fine but the images load one by one when i’m online, instead of all at once which is what I need.

Can anyone show me how I can set up a pre-loader for the xml file?

Many thanks

PS. I have looked at the kirupa tutorial but i’m not sure how I can make it work for me. I have a button on the main timeline that loads a swf file into an empty movieclip, the swf contains the xml call to load the images.

I’ve tried this but for some reason it doesn’t work:

myXML = new XML();
myXML.load(“images.xml”);
myXML.onLoad = function(success) {
if (success) {
gotoAndStop(2);
trace(“success!”);
}
};