Scroll

Flash working with cross-domain

Flash working with cross-domain

Follow
Summary This article describes how to make Flash working with cross-domain.
Applies to askiaweb
Written for Fieldwork manager
Keywords flash; cross-domain


Flash not working with resources servers' location different than the server

Cross-domain policy is security restriction from Adobe to secure resources' availability into Flash player.
To avoid flash to be block due to public IP & domain name mixed up into a web page, an easy way would be to set a xml file on the server.
By default, policy files must be named crossdomain.xml and must reside in the root directory of the server.

Below an example with some available criterias.

<cross-domain-policy>
<allow-access-from domain="*" />
<allow-access-from domain="*.example.com" />
www.example.com" />
<allow-access-from domain="127.0.0.1" />
</cross-domain-policy>

Reference: http://livedocs.adobe.com/flex/3/html/help.html?content=05B_Security_03.html

Have more questions? Submit a request

Comments