# XML2Object 1.2

**URL:** <https://forum.kirupa.com/t/xml2object-1-2/121221>\
**Category:** Uncategorized\
**Created:** [September 1, 2004, 1:38am UTC](https://forum.kirupa.com/t/xml2object-1-2/121221 "2004-09-01T01:38:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thesignx](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@thesignx](https://forum.kirupa.com/u/thesignx)\
**Post date:** [September 1, 2004, 1:38am UTC](https://forum.kirupa.com/t/xml2object-1-2/121221/1 "2004-09-01T01:38:32Z")

</div>

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
