Loader and URLs

Hi,

I am loading a url from an xml file, when working the structure was:

mycarousel.swf
images(folder)
-image1.jpg
-thumb1.jpg

the xml was
<item thumb=“images/thumb1.jpg” image=“images/image1.jpg”></item>

This worked fine. Now I want to put all that into a folder called ‘carousel’ and then load this into my main movie.

var myRequest:URLRequest = new URLRequest(“carousel/mycarousel.swf”);

so the structure is now

mainmovie.swf

carousel(folder)
mycarousel.swf
images(folder)
-image1.jpg
-thumb1.jpg

the problem is whatever I do I get a URL error on the xml file. I do not really understand how flash deals with relative and absolute paths and how to resove this.

Thanks,