Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Finally! I've found it.</p> <p>Adding a crossdomain.xml to the root of my webserver solved the issue. It seems wierd to me that this solves the problem as the php file I access is on the same server. Not only that, it's in the same folder!</p> <p>It seems that under MAC OSX the flashplayer recognizes that the request is within the same domain but under windows fails to do so. That would explain why under windows the security error is trown. Which resulted in my swf working under MAC but not on a windows machine. For now I have added the following crossdomain.xml file to the root of my server:</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>If you want to use this solution please change the 'mydomain.com' to the specific domain you want to allow. Read everything about the crossdomain.xml and how to use it here: <a href="http://learn.adobe.com/wiki/download/attachments/64389123/CrossDomain_PolicyFile_Specification.pdf?version=1" rel="nofollow">http://learn.adobe.com/wiki/download/attachments/64389123/CrossDomain_PolicyFile_Specification.pdf?version=1</a></p> <p>As I stated in the question the following error was caught: [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.domain1.com/file.swf" rel="nofollow">http://www.domain1.com/file.swf</a> can not load data from <a href="http://www.domain2.com/file" rel="nofollow">http://www.domain2.com/file</a>.*"]</p> <p>The fact that a part of the error is missing in my case could indicate that a file in the same domain is requested.</p> <p>So the crossdomain.xml did the trick! I hope this answer will be of benefit to someone.</p> <p>Happy coding!</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.
    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