【发布时间】:2012-02-19 12:10:19
【问题描述】:
我正在尝试将远程图像加载到我的 AIR 应用程序中,但出现以下错误:
*** Security Sandbox Violation ***
SecurityDomain 'http://[------].com/app/widget/twitter.png' tried to access incompatible context 'app:/App.swf'
*域名已编辑
所以基本上是说远程图像正在尝试访问应用程序?如何将远程域添加为受信任?
我尝试了Security.allowDomain('www.[------].com') 并得到以下错误:
SecurityError: Error #3207: Application-sandbox content cannot access this feature.
at flash.system::Security$/allowDomain()
【问题讨论】:
标签: apache-flex security air crossdomain.xml