XML2Object 1.2

Hi there all…

I just download from macromedia exchange this extension for flash, and all ready have a headache :sleep:

can you see where my problem is: (i get the “undefined” message all the time)

import it.sephiroth.XML2Object;
var dataObj:XML = new XML();
//
dataObj.ignoreWhite = true;
var sXML:String = “test.xml”;
function handleLoad(sucess:Boolean) {
if (success) {
xmlObj = new XML2Object().parseXML(dataObj);
}
}
//
dataObjt.onLoad = handleLoad;
dataObjt.load(sXML);
displaytext = xmlObj.XMLROOT.HEAD[0].BODY[0].data;

Thanks in advance