Blog
Loading Cross domain data
4 years, 2 months ago Posted in: Blog Comments Off
In order to load data from external domains that do not host a crossdomain.xml file (like zoho creator)you should create a proxy file in your server folder hosting the swf file:
loadXML.php
<?php
$dataURL = “http://yourexternalURL”;
readfile($dataURL);
?>
then you’d include the crossdomain.xml
<?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>
now you are ready to go!
This entry was posted on Friday, December 7th, 2007 at 11:08 am
You can follow any responses to this entry through the RSS 2.0 feed.

Xing
LinkedIn
Twitter
Delicious
Facebook