# Saving to XML

**URL:** <https://forum.kirupa.com/t/saving-to-xml/331770>\
**Category:** flash\
**Created:** [October 16, 2013, 3:01pm UTC](https://forum.kirupa.com/t/saving-to-xml/331770 "2013-10-16T15:01:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JmacUSAF](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@JmacUSAF](https://forum.kirupa.com/u/JmacUSAF)\
**Post date:** [October 16, 2013, 3:01pm UTC](https://forum.kirupa.com/t/saving-to-xml/331770/1 "2013-10-16T15:01:53Z")

</div>

Is it considered a local file if I have an xml document with my fla files? I want to write, save, and load an xml file when an adobe AIR app starts but am confused about the procedure.

Im guessing…

Start a file reference  
Start a URLLoader for XML  
Manipulate data from within an XML var  
Write using File stream?

Does that sound right? Will that xml file always be connected to the fla and app when its published? I don’t want to have a local file that gets erased every time the app get updated or cookies get deleted.

Thanks Josh
