# Writing to local XML/Data File

**URL:** <https://forum.kirupa.com/t/writing-to-local-xml-data-file/120305>\
**Category:** Uncategorized\
**Created:** [August 23, 2004, 6:13am UTC](https://forum.kirupa.com/t/writing-to-local-xml-data-file/120305 "2004-08-23T06:13:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adryn](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Adryn](https://forum.kirupa.com/u/Adryn)\
**Post date:** [August 23, 2004, 6:13am UTC](https://forum.kirupa.com/t/writing-to-local-xml-data-file/120305/1 "2004-08-23T06:13:12Z")

</div>

Hi,

I was told to make a flash projector that allows one to update/edit XML file or text file on a local PC through the .exe file.  
I am relatively new to actionscripting and I am not sure if it is actually possible to do that through flash. Could someone advise me on this? Any help would be much appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![trundrumbalind](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trundrumbalind/32/696_2.png) [@trundrumbalind](https://forum.kirupa.com/u/trundrumbalind)\
**Post date:** [August 23, 2004, 12:38pm UTC](https://forum.kirupa.com/t/writing-to-local-xml-data-file/120305/2 "2004-08-23T12:38:42Z")

</div>

You do need to create a Projector (.EXE) file which is done by selecting “Projector output” in the “Publish Settings…” dialog box.

You cannot, however, use traditional AS for saving files and instead you need to use the fscommand command.

Check out [macromedia.com](http://macromedia.com) for info on how to do this. There also might be a tutorial on Kirupa about this somewhere but I don’t remember any. Anyways, just keep searching the net and you’ll come up with it soon I’m sure

---

<div class="post-metadata">

**Author:** ![Adryn](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Adryn](https://forum.kirupa.com/u/Adryn)\
**Post date:** [August 23, 2004, 2:50pm UTC](https://forum.kirupa.com/t/writing-to-local-xml-data-file/120305/3 "2004-08-23T14:50:02Z")

</div>

hmm i’ve been reading a bit on fscommand(). but it seems that flash mx onwards does not support fscommand(“save”,“filename.txt”) anymore. correct me if i’m wrong. 😕 as such I have no idea how else to go about saving an xml or txt file on a local server. I have thought about using an external browser to execute javascript through my standalone player. But is there a more straightforward way through flash instead?

thanks a lot ~

---

<div class="post-metadata">

**Author:** ![eyezberg](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@eyezberg](https://forum.kirupa.com/u/eyezberg)\
**Post date:** [August 23, 2004, 5:51pm UTC](https://forum.kirupa.com/t/writing-to-local-xml-data-file/120305/4 "2004-08-23T17:51:38Z")

</div>

yes, a few:  
[http://flashjester.com/?section=tricks\_jtools\_jsave](http://flashjester.com/?section=tricks_jtools_jsave)  
[http://www.flashnpack.com/](http://www.flashnpack.com/)  
[http://www.multidmedia.com/](http://www.multidmedia.com/)  
[http://www.screenweaver.com/](http://www.screenweaver.com/)  
[http://www.northcode.com/products/swfstudio/index.html](http://www.northcode.com/products/swfstudio/index.html)

---

<div class="post-metadata">

**Author:** ![DDD](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@DDD](https://forum.kirupa.com/u/DDD)\
**Post date:** [August 23, 2004, 6:45pm UTC](https://forum.kirupa.com/t/writing-to-local-xml-data-file/120305/5 "2004-08-23T18:45:53Z")

</div>

flashjester is a nice proggy. Used it for an interactive cd that saved out order info.

---

<div class="post-metadata">

**Author:** ![Adryn](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Adryn](https://forum.kirupa.com/u/Adryn)\
**Post date:** [August 24, 2004, 2:14am UTC](https://forum.kirupa.com/t/writing-to-local-xml-data-file/120305/6 "2004-08-24T02:14:39Z")

</div>

thanks for those links! i’ll go check it out once i’m back home.  
^^  
sounds promising…
