Hi everyone i am bulgarian flash developer.But i have problem with loading an external xml file (from external host) i want to reach this file on my site but i have a message “file not loaded!”.Where is the problem? Here is the code:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild.firstChild;
d1.text = xmlNode.childNodes.length;
} else {
d1.text = “file not loaded!”;
}
}
xmlData = new XML();
xmlNode = new XMLNode();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load(“http://www.sportal.bg/uploads/rss_category_0.xml”);
I have one dynamic textfield on stage - d1;
may be i have to use allowDomain???