Hey everyone,
I hope someone can help me here, I’ve been pulling my hair out trying to figure out the problem.
I’ve got a flash movie that is using loadVariables to get data from a php file on my main server. The movie works great locally, but when I embed the movie anywhere else, the data won’t load.
I’ve got my crossdomain.xml file on the root of my server:
<?xml version=“1.0”?>
<!DOCTYPE cross-domain-policy
SYSTEM “http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd”>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
Here is my Flash actionscript calling the php file (which works fine locally AND on my server, just not other servers)
_global.baseurl = “http://www.mydomain.com/”;
loadVariables(_global.baseurl+“getpage.php”,’’);
If you need the PHP code posted, I can do that, but like I said I don’t think this is a coding issue since it works fine locally. And I’ve done research on the crossdomain and it seems like it should work.
Anyone think of any other reason why I wouldn’t be able to load the data?
thanks for any help!
-Mb