XML Gallry Movie Clip

I have a Gallery which usesXML to load the photos. is there away i can have just this one mocvie clip but have several instances of it which all load different xml files?

I tried jut dragging and dropping it on stage and changing the instance name but then when i edit the actions it changes it for al lthe instances…?