I wanted to know if it was possible to store XML data in an array, and then call
this data later on in a MC.
so I have somehing like this.
xmlarray = [];
xmlFile = "users.xml";
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.load(xmlFile);
xmlData.onLoad = function(success) {
if (success) {
path = xmlData.firstChild;
nodes = path.childNodes;
for(i=0; i<nodes.length; i++) {
xmlarray* = path.childNodes*.attributes.area;
}
}
}
MC code.
trace(_root.xmlarray);
I wanted to know if this was possible to do