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…
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
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 and 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.