如何禁用crossdomain.xml检查当执行swf已加载本地主机上?如何绕过闪存跨域安全
Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: Security sandbox violation: http://localhost:2541/xxx.swf cannot load data from http://www.com/xxx.swf.
我想为本地运行的HTML5 Web应用程序分配完全信任。我想禁用任何跨域检查。
为什么? 某些外部服务器不为其托管的SWF文件提供crossdomain.xml。 我在本地运行。我想完全信任调试目的。
我该怎么做?
我不会考虑AIR,因为它不能在HTML5应用程序中使用。
将URL“http://localhost:2541/xxx.swf”添加到“C:\ Users \ Arvo \ AppData \ Roaming \ Macromedia \ Flash Player#Security \ FlashPlayerTrust \ u.cfg”没有帮助。
编号:
http://www.abdulqabiz.com/blog/archives/2007/03/20/flash-player-trust-flashplayertrust-on-gnulinux/
Running a SWF from file:/// without having the user change their Flash Player security settings
你能解释一下你想做什么吗? – 2010-11-02 16:57:19