# Error #1010

**URL:** <https://forum.kirupa.com/t/error-1010/289048>\
**Category:** flash\
**Created:** [May 25, 2009, 5:26pm UTC](https://forum.kirupa.com/t/error-1010/289048 "2009-05-25T17:26:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stritar](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@stritar](https://forum.kirupa.com/u/stritar)\
**Post date:** [May 25, 2009, 5:26pm UTC](https://forum.kirupa.com/t/error-1010/289048/1 "2009-05-25T17:26:18Z")

</div>

I’m trying to load a simple line of text from XML in to dynamic text filed that is inside of a MovieClip on a stage. I think I did everything that has to be done, so why am I getting this error?.

TypeError: Error #1010: A term is undefined and has no properties.

var myXML:XML;var  
myLoader:URLLoader = new URLLoader();  
myLoader.load(new URLRequest(“test.xml”));  
myLoader.addEventListener(Event.COMPLETE, processXML);  
function processXML(e:Event):void {  
myXML = new XML(e.target.data);  
trace(myXML.topic.id[0]);  
this.cont\_MC.test\_field.text = myXML.topic.id[0]  
}
