return an object with the content of the XML translated
note: a node name with "-" will be replaced with "_" for flash compatibility.
for example The object created will have this structure:
obj {
nodeName : {
attributes : an object containing the node attributes
data : an object containing the node contents
}
}
Usage:
var data:Object = new XML2Object().parseXML(myXML);