XML from PHP, not loading

My PHP file is creating the correct XML code. I just can’t load that PHP generated XML code into Flash.
Here’s my AS code:

var xmlFile:String = "highscore.php";
var astrFolder:Array = new Array();

function loadXML(loaded) {
    if (loaded) {
        var xnRootNode:XMLNode = this;
        for (var i = 0; i<2; i++) {
                astrFolder.push(xnRootNode.firstChild.childNodes*.childNodes[0].firstChild.nodeValue);
        }
        // everthing is loaded; we can move on
            trace (astrFolder);
    }
}
var xmlData:XML = new XML();
xmlData.ignoreWhite = true;
xmlData.load( xmlFile );
xmlData.onLoad = loadXML;

If I copy and paste the XML code that was generated by my PHP file and create a stand-alone XML file from that, it works! (Of course, I changed the xmlData name to highscore.xml at that point)

I’m not sure why putting highscore.php in for xmlData would not make it work. Any ideas on this one guys and gals? I’m missing something small here, I know.