XML DISPLAY ONPRESS (mc prob)

hi I have been playin around for an hour or so, I know how to load xml data using a button. onPress command.

Not sure how to set the command to a movieclip??

this is what I have tried.

onClipEvent (mouseDown) {
function loadXML(loaded) {
if (loaded) {
_root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
name_txt.text = _root.inventor;
comment_txt.text = _root.comments;
} else {
content = “file not loaded!”;
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load(“inventors2.xml”);
}