我正在本地运行一个项目。我的项目正在尝试访问 MYDOMAIN 上的文件。我收到以下错误:
*** Security Sandbox Violation ***
SecurityDomain 'MYDOMAIN/system/components/compimg/11852997eab43ff5c7b1803692bee608/pattern' tried to access incompatible context 'file:///C:/Users/myusername/Documents/Flex%20Builder%203/myproject/bin-debug/Works.html'
在 MYDOMAIN 的根目录中,我有一个 crossdomain.xml 文件:
<?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="*" />
</cross-domain-policy>
谢谢