Blog
Loading Cross domain data
9 years, 6 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!

Comments are closed.

Image compression on this page is provided by WordPress Image Compressor