Using Flash files with CDN - setting a cross-domain policy

Introduction

Please note that .swf Flash files might not work properly when requested from CDN on your website because Flash checks from what domain the .swf file and other media are loaded.

How to set cross-domain policy

To solve it you need to create a crossdomain.xml file on the CDN service origin (Origin domain or Origin Storage). Please refer here for more details on cross-domain policy.

The simplest solution is to put the following into the crossdomain.xml file.

<?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>

What next?

Read about the following topics.

Contact Us

  _____     ______            
 /  ___||  /_   _//   ____    
| // __     -| ||-   |    \\  
| \\_\ ||   _| ||_   | [] ||  
 \____//   /_____//  |  __//  
  `---`    `-----`   |_|`-`   
                     `-`