# Load XML file in AIR

**URL:** <https://forum.kirupa.com/t/load-xml-file-in-air/243722>\
**Category:** flash\
**Created:** [November 9, 2007, 10:25pm UTC](https://forum.kirupa.com/t/load-xml-file-in-air/243722 "2007-11-09T22:25:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mprzybylski](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mprzybylski/32/613_2.png) [@mprzybylski](https://forum.kirupa.com/u/mprzybylski)\
**Post date:** [November 9, 2007, 10:25pm UTC](https://forum.kirupa.com/t/load-xml-file-in-air/243722/1 "2007-11-09T22:25:59Z")

</div>

So this is the first time I’ve touched AIR (ever!) and I was going about my business trying to use AS3 to load an XML file. If the XML file was not in the same directory as the swf file i was publishing out of AIR (publishing and NOT packaging just yet) it was giving me an ioError so I moved it into the same directory and it worked fine. however, for organizational purposes, i’d like to avoid having it in the same folder as this gets kind of messy.

a friend told me that there is some different way of loading files in AIR and to look up app-resource and app-storage but i havent really found anything too helpful with that.

can anyone shed some light on this or point me in the right direction? thanks!
