Writing to local XML/Data File

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

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 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

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. :confused: 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 ~

yes, a few:
http://flashjester.com/?section=tricks_jtools_jsave
http://www.flashnpack.com/
http://www.multidmedia.com/
http://www.screenweaver.com/
http://www.northcode.com/products/swfstudio/index.html

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

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