# Xml load error

**URL:** <https://forum.kirupa.com/t/xml-load-error/313195>\
**Category:** flash\
**Created:** [August 23, 2010, 3:29pm UTC](https://forum.kirupa.com/t/xml-load-error/313195 "2010-08-23T15:29:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rocketrud](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@Rocketrud](https://forum.kirupa.com/u/Rocketrud)\
**Post date:** [August 23, 2010, 3:29pm UTC](https://forum.kirupa.com/t/xml-load-error/313195/1 "2010-08-23T15:29:50Z")

</div>

Here is my code:

```auto

var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
 
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
 
xmlLoader.load(new URLRequest("http://www.classiccinemas.com/feed/theater.asp?house_id=2258"));
 
function LoadXML(e:Event):void {

xmlData = new XML(e.target.data);
var xList:XMLList = xmlData.channel.item;
    var len:int = xList.length() + 3;

    for (var i:int = 0; i<len; i++) {
        content.htmlText += "<a href='http://www.movietickets.com/house_detail.asp?exid=cla&house_id=2258'>" + xList*.title.toString() + "</a>" + '
' + xList*.description.toString() + '
' + '
';
    }

}

```

Error Message:

```auto

TypeError: Error #1010: A term is undefined and has no properties.
    at ClassicCinemas_SPECb_fla::MainTimeline/LoadXML()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

```

Everything works fine locally but when I upload to my server the text field remains blank.

Any Ideas?
