Flash, SecurityError: Error #2028: Local-with-filesystem SWF cannot access Internet URL

烂漫一生 提交于 2019-12-24 19:33:15

问题


There is a number of flashfiles that my application is very much dependent of, and unfortunately, when i am trying to run my app on a server different from the one we have been developing it on, i get the following error:

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

I tried adding the crossdomain.xml file to the server, however, it doesn't work. Is there anything i can do to allow that file to access that stream?

Thank you in advance.


回答1:


Well, this is what worked for me: adding the following crossdomain.xml:

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

Even though it is not quite secure in my case.



来源:https://stackoverflow.com/questions/12093375/flash-securityerror-error-2028-local-with-filesystem-swf-cannot-access-inter

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!