Pages

Tuesday, December 12, 2006

what is crossdomain.xml ?

We most of the time needs to load the data from different servers into our flash application. But flash player load data across domains on a permission basis these permission from the server. These persmissions are set by the server in a small xml file called "crossdomain.xml" The sample structure is :
<?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>

No comments: