importXMLother = new XML();
importXMLother.ignoreWhite = true;
importXMLother.onLoad = function(successother)
{
if (successother)
{
var rootother = this.firstChild.childNodes; // The root node
var curcodeother = [];
trace(rootother.length);
for (var rother = 0; rother < rootother.length; rother++)
{
//push each to an array value
curcodeother[rother] = rootother[rother].childNodes[10].childNodes[0].firstChild.nodeValue;
}
}
//check the arrays
for (var nother = 0; nother < curcodeother.length; nother++) {
trace (curcodeother[nother]);
//
var palStr:String = curcodeother[nother];
var palSplit:Array = palStr.split(" ");
var palLast:String = palSplit[palSplit.length-2];
realCopperM.realCopper.text = palLast;
}
//end check
}
importXMLother.load("realpalladium.php");