Archmage Zen
03-11-2009, 03:38 PM
Ok, I'm writing a RPG in flex 3 and will be using a XML file to store player data. I need to put the data from the xml file to a variable.
Thanks,
Zen
XML File
<?xml version="1.0" encoding="ISO-8859-1"?>
<Demo>
<Name>Demoman</Name>
<Level>1</Level>
<Lives>3</Lives>
<Standimage>flowRoot8241867.png</Standimage>
<Walkimage>flowRoot6812.swf</Walkimage>
<Attackimage>flowroot95.swf<Attackimage>
</Demo>
Thanks,
Zen
XML File
<?xml version="1.0" encoding="ISO-8859-1"?>
<Demo>
<Name>Demoman</Name>
<Level>1</Level>
<Lives>3</Lives>
<Standimage>flowRoot8241867.png</Standimage>
<Walkimage>flowRoot6812.swf</Walkimage>
<Attackimage>flowroot95.swf<Attackimage>
</Demo>