Flash,SecurityError:错误#2028:本地文件系统SWF无法访问Internet URL

时间:2012-08-23 13:58:40

标签: flash security

我的应用程序非常依赖许多flash文件,不幸的是,当我尝试在不同于我们开发它的服务器上运行我的应用程序时,我收到以下错误:< / p>

SecurityError: Error #2028: Local-with-filesystem SWF file file:///C|/Users/user/Desktop/flash/flash.swf cannot access Internet URL rtmp://192.168.1.33/rtmp

我尝试将crossdomain.xml文件添加到服务器,但是,它不起作用。有什么办法可以让该文件访问该流吗?

提前谢谢。

1 个答案:

答案 0 :(得分:0)

嗯,这对我有用:添加以下crossdomain.xml

<?xml version="1.0" ?>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

即使我的情况不太安全。

相关问题