Autosaving to xml using fileReference.Save without having a Save As dialog come up
问题 I am trying to save data gathered from within my app to it's accompanying external xml file called data.xml . I am using the fileReference.save method but it just doesn't seem to be doing the job: function parseXML(xmlData:XML):void { trace("Parsing:"); trace("-----------------"); var itemIndex:uint = event.currentTarget.index; delete data.item[itemIndex]; fileReference.save(data, "data.xml"); trace(xmlData); } Unfortunately, this causes a 'Save As' dialog box to pop up asking the user where