Xml paths

Hi, I have flash-appication that uses external XML file for settings. Locally it works great, but when I downloaded it to site it doesn’t, because flash didn’t see xml file in the same directory. I’ve found that index.html that has this application as object is in another folder and swf looks for xml file not in its dir, but in the dir of HTML. How could I write exactly to look in the flah directory [without absolutes] ???