Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Solution</strong></p> <p>After long research I have found the solution: Adding the following crossdomain.xml to the root of my webserver (www.mysite.nl/).</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="*.mydomain.com" to-ports="*"/&gt; &lt;allow-http-request-headers-from domain="*.mydomain.com" headers="*"/&gt; &lt;/cross-domain-policy&gt; </code></pre> <p>This is not secure so if you want to use this solution please change 'mydomain.com' to the specific domain you want to allow. So that fixed it.</p> <p><strong>How I got to the answer</strong></p> <p>I was able to catch the error using the following code:</p> <pre><code>loader.addEventListener(IOErrorEvent.IO_ERROR, handleSecurityError); </code></pre> <p>The error returned was the following: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048"]</p> <p>Note that usually the error contains: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security Sandbox Violation : <a href="http://www.domain-a.com/url/file-a.swf" rel="nofollow">http://www.domain-a.com/url/file-a.swf</a> can not load data from <a href="http://www.domain-b.com/url/file-b.swf" rel="nofollow">http://www.domain-b.com/url/file-b.swf</a>"]</p> <p>This error is usually solved by loading a security policy. check out this link about how to use security policies: <a href="http://kb2.adobe.com/cps/142/tn_14213.html" rel="nofollow">http://kb2.adobe.com/cps/142/tn_14213.html</a></p> <p>However in this case the url accessed is within the same domain. (NOTE: same folder :D) So initially I thought this was irrelevant as there is no other domain contacted. But after searching for a week I got so desperate I tried it any how.</p> <p>So adding a crossdomain.xml to the root of my server solved the problem.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload