How to read and write a text file in ActionScript 2.0 (Macromedia Flash 8) -


I am creating some animation projects with Macromedia Flash 8, which uses Action Script 2.0. I need some simple options like saving a user in a text file and reading it But, I did not know about writing in a text file. Some codes that read but could not write.

Example of reading:

  loadText = new LoadVars (); LoadText.onData = function (raw) {myField.text = raw; } LoadText.load ("user.txt");  

Can someone help me, with examples of typing, can read data parsed in a nutshell, doing external data work
I appreciate your help, which You can provide.


Comments