the web site is http://blindedblack.net
The client was looking at his site and said he could see the XML just fine, but a lot of people were complaining about it being undefined. I am at work right now so I tried it here on multiple machines and they all loaded. I give my dad a call and ask him to take a look at it and it says undefined. Hes running on san diego’s cox cable connetion where here I have a T3 line. What would be causing this problem? Any ideas?
I am preloading my XML so that is not why. See below for more details:
frame 1:
_root.newsXML = new XML();
_root.newsXML.ignoreWhite = true;
_root.newsXML.load("http://blindedblack.net/loadnews.php");
_root.newsXML.onLoad = function() {
_root.newsloaded = "true";
};
_root.eventxml = new XML();
_root.eventxml.ignoreWhite = true;
_root.eventxml.load("http://blindedblack.net/loadevents.php");
_root.eventxml.onLoad = function() {
_root.eventsloaded = "true";
}
loader.onEnterFrame = function() {
_root.amount = Math.floor(((getBytesLoaded()/getBytesTotal())*100));
_root.loader.pct.text = _root.amount;
_root.loader.loadbar.loadbarani._xscale = amount;
if (amount>=100 && _root.newsloaded == "true" && _root.eventsloaded == "true") {
_root.gotoAndPlay(2)
delete loader.onEnterFrame;
Mouse.show();
}
}
I am already doing that
ALSO I must clarify what those PHP files consist of and why it isnt XML per say.
<?
header("Content-Type: text/xml");
readfile("http://feeds.easyasair.com/37/newsfeed.aspx");
?>
basically the PHP displays that XML file and because of flashes inability to read XML over different domains that is why its using php.