i want to save the value of a variable into a existing .txt file. But when i run the file, the program generates a new .txt file everytime i press save..
Please help me..
here is my code so far.
var file:FileReference = new FileReference();
var ba:ByteArray = new ByteArray();
ba.writeUTFBytes(total_text.text);
file.save( ba, "register.txt" );