Working with XML in ActionScript

jbec84

New Member
I've XML data in an other SWF file. I get the data through this:\[code\]var getXML = event.target.applicationDomain.getDefinition("class");var getXML = new getXML;trace(getXML);\[/code\]If I output the data, it's just the XML content like:\[code\]<?xml version="1.0" encoding="ISO-8859-1" ?><assets> <asset name="blabla" /> ....</assets>\[/code\]How can I "transform" this text into pure XML, so I could work with data.asset[0].@name?Thanks
 
Back
Top