Save a variables value into a existing .txt file with actionscript 3
问题 i want to save the value of a variable into a existing .txt file. i have fixed it in some way, but instead of save it into a existing file, it creates a new .txt file everytime... please help me... here is the code: var file:FileReference = new FileReference(); var ba:ByteArray = new ByteArray(); ba.writeUTFBytes(total); //save into drive file.save( ba, "register.txt" ); Please help me! 回答1: Looking at the documentation for the save method: http://help.adobe.com/en_US/FlashPlatform/reference