Flex Cross Domain Policy

Apr18
  • Share

Difficulty: ★☆☆☆☆

Flex won’t load data from a server that is not in the domain from which the SWF file originated unless there is a crossdomain.xml in the server’s root.
If you want to allow Flash to access your localhost data, then create a crossdomain.xml file in your public folder, with the following content:

<?xml version "1.0"?>
<cross-domain-policy>
    <allow-access-from domain="*" />
</cross-domain-policy>


Leave a comment