Wednesday, March 2, 2011

Flash Error #2048: Sandbox Security Error

This flash action script error 2048 sandbox security error happens when your swf is trying to access an outside website without permission from that website.

Solution:

Add a cross domain xml on the website that your swf is trying to access.  A sample of the xml is shown below:
 
<?xml version="1.0" encoding="UTF-8" ?>
<cross-domain-policy>
  <allow-access-from domain="*.thongvu.com"/>
</cross-domain-policy>

Related Links:
crossdomain.xml
list of AS3 errors
allow domain
loading-files-using-urlstream

No comments:

Post a Comment