Overwrite XML data Using AS3
I have a file called temp.xml saved out on localhost (I'm running wamp for testing), and it has this in it:
<?xml version="1.0" encoding="utf-8"?>
<1>
<SAVEDATA pos="1"/>
</1>
The idea is, that as you get to checkpoints pos="" would be updated. I can't seem to figure out how to actually edit this. The reason SAVEDATA is within <1> is because I also wanted it to somehow assign a unique ID to each player (There's a login system), and when you login, it checks your ID, and continues the game from where you left off.
