When I use
blah = new XML();
blah.load("http://www.myhost.com/myfile.
php");
it works fine when testing on my local computer. I run
blah.onLoad = function(success) {
if (success) {
trace(blah); // this will open the page
}
}
... however, when I upload the SWF file to a website, e.g. Newgrounds or SpamTheWeb, it just flat-out refuses to work. I have installed crossdomain.xml on my website, as follows:
<?xml version="1.0"?>
<cross-domain-policy>
<a llow-access-from domain="*" />
</cross-domain-policy>
So this should be working, but it isn't. Does anyone have the solution?