# Xml loads when path is to the same folder,but not from the folder i need to load fro

**URL:** <https://forum.kirupa.com/t/xml-loads-when-path-is-to-the-same-folder-but-not-from-the-folder-i-need-to-load-fro/223831>\
**Category:** Uncategorized\
**Created:** [April 26, 2007, 3:06am UTC](https://forum.kirupa.com/t/xml-loads-when-path-is-to-the-same-folder-but-not-from-the-folder-i-need-to-load-fro/223831 "2007-04-26T03:06:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparrowco](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@sparrowco](https://forum.kirupa.com/u/sparrowco)\
**Post date:** [April 26, 2007, 3:06am UTC](https://forum.kirupa.com/t/xml-loads-when-path-is-to-the-same-folder-but-not-from-the-folder-i-need-to-load-fro/223831/1 "2007-04-26T03:06:42Z")

</div>

hey there! here is my problem if anyone is so kind to point me in the right direction:

i have a Part2\_Resources.swf that loads assets/resources.swf into a container on it’s root timeline. no problem. assets/resources.swf then loads in config.xml for its content. i think the problem comes in relation to my file structure even though I have already made sure that my path is relative to my root swf.

this presentation will be on cdom so i want to keep my main projector file out in the open and then store all the other files into an ‘assets’ folder. so here is my file structure:

cd / Part2\_Resources.swf (will end up being a projector file)  
assets folder / resources.swf and config.xml

when i play my resources.swf by itself with the config.xml loaded directly it works perfectly (ie path: configxml.load(“config.xml”)😉

but when i play the Part2\_Resources.swf, which then loads assets/resources.swf, wich in turn loads config.xml from the assets folder (ie: path to xml file in resources.swf changed to configxml.load(“assets/config.xml”)😉 the data doesnt load, or isn’t visible for some reason. I am not getting any errors, just no content from the xml file.

i can’t figure out where im going wrong except that i might need to use absolute paths which i don’t know how to do from a cdRom!

maybe it is another problem altogether?? i attached my files if anyone wants to give it a go!

Help please!!!  
Much appreciated!!!
