# Loading data from external xml

**URL:** <https://forum.kirupa.com/t/loading-data-from-external-xml/247424>\
**Category:** Uncategorized\
**Created:** [December 23, 2007, 4:28am UTC](https://forum.kirupa.com/t/loading-data-from-external-xml/247424 "2007-12-23T04:28:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blizzardtweaker](https://avatars.discourse-cdn.com/v4/letter/b/a3d4f5/32.png) [@blizzardtweaker](https://forum.kirupa.com/u/blizzardtweaker)\
**Post date:** [December 23, 2007, 4:28am UTC](https://forum.kirupa.com/t/loading-data-from-external-xml/247424/1 "2007-12-23T04:28:06Z")

</div>

i’m trying to load information from a remote location xml file (its on a different server). When i tested it in sandbox, it works perfectly fine, but once i uploaded it online, nothing seems to be working…

```auto
var a1 = new XML();
a1.onLoad = function(success){

if (success){
longdate1 = a1.firstChild.childNodes[1].firstChild;
}

}
a1.load("http://chire.org/ikilledme/rss/atom.xml");

```

I have tried adding

```auto
System.security.allowDomain("http://my.domain.com") 

```

but it doesnt make a difference. the index.html and file.swf are located in the same directory (eg. [http://my.domain.com/index.html](http://my.domain.com/index.html) and [http://my.domain.com/file.swf](http://my.domain.com/file.swf))

i’ve deduced that the XML data is never loaded, since nothing in the the ‘success’ function is performed. I cannot edit the remote xml file since it does not belong to me and is a generated rss file. Thx in advance for any help.
