XML across subfolders?

how to load SWF into timeline with its own XML?

I know how to load SWF into timeline, but how to tell flash to search for XML in** its local **folder, instead of local folder of main timeline?

main.swf —> at /main
loads few gallerys
gallery.swf ----> at /main/gallery1
images.xml ----> at /main/gallery1

so on…

gallery.swf ----> at /main/gallery*****
images.xml ----> at /main/gallery*****

how to tell flash to search for xml locally, where gallery.swf is?

Please Help

Anything, could help,
write if dont understand the question