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