title: What is crossdomain.xml file?
body: <p>Actually I wish I knew where to start from...</p>
  
  <p>I have embedded an third party SWF image gallery control, in an personal website of mine.</p>
  
  <p>The SWF is XML driven. I load the XML file on the fly as follows....</p>
  
  <pre><code>  var flashvars = { xmlPath: "http://www.example.com/xml.aspx" };
                  var params = { allowFullScreen: "true", wmode: "transparent", allowScriptAccess: "always"};
                  var attributes = {};
                  swfobject.embedSWF("main.swf", "gallery", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  </code></pre>
  
  <p>The problem is that the page did not work as expected. Actually it worked only in Firefox, not in Chrome or I.E.</p>
  
  <p>After checking the requests with fiddler, i found that the file crossdomain.xml was not found. So, stackoverflow helped me finding a sample...</p>
  
  <pre><code>&lt;?xml version="1.0" ?&gt;
  &lt;cross-domain-policy&gt;
    &lt;site-control permitted-cross-domain-policies="master-only"/&gt;
    &lt;allow-access-from domain="*"/&gt;
    &lt;allow-http-request-headers-from domain="*" headers="*"/&gt;
  &lt;/cross-domain-policy&gt;
  </code></pre>
  
  <p>After adding the crossdomain.xml the webpage now works in Firefox AND I.E. In Chrome i still have a problem.</p>
  
  <p>So here are a couple of questions...</p>
  
  <p>1) What is the crossdomain.xml?</p>
  
  <p>2) How can i make my webpage work in Chrome too?</p>