Trouble with preloading xml content

hej peeps,

after working my way through some tutorials and searching on the forum,
i still have a question concerning preloading some xml content.

i’m trying to copy a movieclip called “containerMC” based on the data in my xml file.
the “containerMC” contains a movieclip (instance name “image”) in which i load a picture using this script.
the script is placed on frame1 of the mainstage.

myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function (success) {
mainNode = this.firstChild;
if (success) {
for (i=0; i<mainNode.childNodes.length; i++) {
theClip=_root.attachMovie"containerMC", "containerMC"+i, i);
theClip._x = theClip._y = 0;
theClip._y += 350*i;
theClip.image.loadMovie(mainNode.childNodes*.childNodes[0].firstChild.nodeValue);
theClip.textClip.textContainer.text = mainNode.childNodes*.childNodes[1].firstChild.nodeValue;
			
};
};
};

myXML.load("images1.xml");

this works just fine … but i want every image to be preloaded seperately
(i hope this makes sense).

i figured that i have to create a preloader movieclip inside the “containerMC”
only i’m at a loss where i put the code for my preloader … and which code to use.

i hope someone can help me out or point me in the right direction,

thnx in advance,

odin