Code: Select all
SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: file:///C:/Users/Ded%20Sirijus/SVN/mix-and-play/flash/branches/cleanup/dbg/main.swf cannot access rtmp://184.106.153.52/SFS_RedBox. No policy files granted access.
I've put policy file with content:
Code: Select all
<?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="*" />
<allow-access-to domain="*" />
</cross-domain-policy>
in Server/webserver/root, in Server/RedBox/webapps/SFS_RedBox, in Server/RedBox/webapps and in root of my domain.
At the start of my application I have:
Code: Select all
Security.loadPolicyFile("xmlsocket://184.106.153.52:9339")
Also, jetty is running, autoloading of policy files is set to true and ports 9339 and 1935 are all open.
I'm completely lost now, could anyone enlighten me what to do?
I'm getting streaming all right, only cannot draw bitmap on it.