please help me
I have below code
application.onAppStart = function(){
this.clientStream = Stream.get("clientPlayStream");
var my_xml = new XML("<login><username>qeyd</username><password>nisan</password></login>");
if (my_xml.firstChild.hasChildNodes()) {
// Use firstChild to iterate through the child nodes of rootNode.
for (var aNode = my_xml.firstChild.firstChild; aNode != null; aNode=aNode.nextSibling) {
if (aNode.nodeType == 1) {
trace(aNode.nodeName+":\t"+aNode.firstChild.nodeValue);
this.clientStream.play(aNode.firstChild.nodeValue, 0 , 5 , false);
}
}
}
}
I need this application read from exteral xml file not in it. Please help me
