title: Saving XML files locally in the background of the program
body: <p>i am working on a as3 program witch runs in adobe air.
  I have created an XML object.</p>
  
  <pre><code>var settings:XML = new XML( &lt;objects /&gt; );
  </code></pre>
  
  <p>Now i want to save this XML into a file locally in a directory.</p>
  
  <pre><code>var file:FileReference = new FileReference;
  file.save( settings, "settings.xml" );
  </code></pre>
  
  <p>But only a dialog box opens, where i can choose the directory for the file.
  My question is now how to save the Xml file in a specific directory in the background of the program. I am using Air so i don't need to worry about security errors.
  Thanks.</p>