How could I write variables from my .SWF to a .XML or .TXT?
I'm making an application (like a little game) that needs to
list some variables (actualy write them and/or rewrite them) to an
external text file (or XML).
I've tried to do it using LoadVars.send(), and
LoadVars.sendAndLoad(). But it doesn't work.
Which is the right way to use this methods?
Am I not using the right ones?
Which one should I use?
NOTE: If the post is not understandable please tell me. My
english isn't that good but I'll try to explain it better.
This all assumes that you are operating in an online
environment, of course. If not, you can use the old FSCommand or
the new ExternalInterface class to send data to your wrapper and
handle the file operations there.