# Saving XML Files

**URL:** <https://forum.kirupa.com/t/saving-xml-files/325257>\
**Category:** flash\
**Created:** [October 5, 2011, 9:33am UTC](https://forum.kirupa.com/t/saving-xml-files/325257 "2011-10-05T09:33:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RandomComm3nt](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@RandomComm3nt](https://forum.kirupa.com/u/RandomComm3nt)\
**Post date:** [October 5, 2011, 9:33am UTC](https://forum.kirupa.com/t/saving-xml-files/325257/1 "2011-10-05T09:33:01Z")

</div>

I am in the process of making a map editor in AS3 that loads maps in through XML, and I need it to save files. It will only be running offline ina standalone player.

I have discovered how to create the XML data, but how do I write that into a file and save it?

Thanks in advance.
