Mx.controls.loader

:ponder: Hi Peeps, Its been a mad few months but i got back to my codeing when i came across a problem using mx.controls.loader (i dont really like to use but hey) I am loading a gallery component in to it and i want to control what xml file loads in to that gallery. How would i code it so that i could control the swf gallery load what xml file i wanted it too.
When i have this component in main Timeline i use the code

Gallery.contentXML = (“webImages.xml”);

So i use the loader code to load the gallery in the loader

loaderG.contentPath=“testG.swf”

testG being the gallery component, so now it is in the loader how would i talk to it and tell it what XML to load.

Hugz