the following code is in actionscript in flash. the myXML.send(); sends the xml data to my aspx page. how do I get that asp code to recieve the myXML data and then write it to the text file test.txt?
*ignore the link it made of my local host
Code:
myXML = new XML();
myXML.ignoreWhite = true;
myXML.load("test.txt");
myXML.onLoad = function(success){
if(success){
if(myXML.status == 0){
trace("Connected!");
}
else{
trace("Parse Error: " + myXML.status);
}
}
else{
trace("Load Error")
}
}
newElement = myXML.createElement(player1);
myXML.appendChild(newElement);
newElement = myXML.createElement(Name);
myXML.firstChild.nextSibling.appendChild(newElement);
newElement = myXML.createElement(lv);
myXMl.firstChild.nextSibling.appendChild(newElement);
myXML.send("
*ignore the link it made of my local host
Code:
myXML = new XML();
myXML.ignoreWhite = true;
myXML.load("test.txt");
myXML.onLoad = function(success){
if(success){
if(myXML.status == 0){
trace("Connected!");
}
else{
trace("Parse Error: " + myXML.status);
}
}
else{
trace("Load Error")
}
}
newElement = myXML.createElement(player1);
myXML.appendChild(newElement);
newElement = myXML.createElement(Name);
myXML.firstChild.nextSibling.appendChild(newElement);
newElement = myXML.createElement(lv);
myXMl.firstChild.nextSibling.appendChild(newElement);
myXML.send("