[AS2] Returning getSelectedItem().label in a list component?

Okay, so I have this code:

if (get_slot() == “Save Slot 1”) {
function loadXML(loaded) {
if (loaded) {
link = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
link.text = link;
} else {
content = “file not loaded!”;
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("/XML/links.xml");
}

get_slot() is a function that returns the label of the currently selected item in my list box. Anyway, when I try this code, it says “Error opening URL ‘file:///XML/links.xml’” instead of assuming that XML is a folder containing links.xml that is in the same file as the .swf. It’s worked fine in the past, but now it’s not working at all.