The syntax for the relative path

Hi,

I have my file structure like this:

/main.swf
/main.as (the document class of “main.fla”)
/xml/1/1.xml
/img/1/1.jpg

In the main.as, I will need to load data from the xml/ and /img folders. Does anyone know what will be the syntax to refer to /xml/1/1.xml as a relative path? Any sample code or link to sourece would be greatly appreciated.

Thanks a lot!