Saving/loading external text files

i know you can load them in as variables… but is there anyway SAVE a variable as a text file (overwriting old one as well)

cheers,

Prophet.

I had the same problem. Flash lets you load text in from a file but it won’t let you save to a text file. But there are ways round it. You can get Flash to create a cookie and send text into there. What you need is to create a shared object:

myLocal_so = sharedobject.getLocal(“FlashCookie”,"/");

Then to send text to it:

myLocal_so.data.savegame = yourtext;

To get it to save text on demand:

myLocal_so.flush();

Hope this works