Apache flex Flex 4现在抛出安全沙盒冲突:file:///ProfilerAgent.swf
所以我在一个Flex项目上做了一些评测,然后去构建一个发布版本。现在,每当我导出一个发布版本时,它都会给出一个运行时安全错误,表示它试图加载ProfilerAgent.swfApache flex Flex 4现在抛出安全沙盒冲突:file:///ProfilerAgent.swf,apache-flex,flex4,flexbuilder,Apache Flex,Flex4,Flexbuilder,所以我在一个Flex项目上做了一些评测,然后去构建一个发布版本。现在,每当我导出一个发布版本时,它都会给出一个运行时安全错误,表示它试图加载ProfilerAgent.swf 错误#2044:未处理的安全性错误:。text=错误#2048:安全沙盒冲突:file:///Users/foobar/Documents/Adobe Flash Builder 4/.metadata/.plugins/com.adobe.Flash.profiler/ProfilerAgent.swf?host=lo
错误#2044:未处理的安全性错误:。text=错误#2048:安全沙盒冲突:file:///Users/foobar/Documents/Adobe Flash Builder 4/.metadata/.plugins/com.adobe.Flash.profiler/ProfilerAgent.swf?host=localhost&port=9999无法从localhost:9999加载数据
错误#2044:未处理的安全性错误:。text=错误#2048:安全沙盒冲突:file:///Users/foobar/Documents/Adobe Flash Builder 4/.metadata/.plugins/com.adobe.Flash.profiler/ProfilerAgent.swf?host=localhost&port=9999无法从localhost:9999加载数据。
即使我退出、重新启动、重击Flash Builder 4,它似乎也不会消失。我尝试通过命令行使用mxmlc手动编译,但当它从我的服务器上运行时,仍然会出现错误。有人对如何修复它有什么想法吗?试着在你的操作系统中根据需要定位
mm.cfg
。然后检查并注释(在行首使用
)以ProfilingFileOutputEnable
和prelowswf
开头的行
希望这有帮助 打开mm.cfg并确保以下说明处于配置中:
ProfileFunctionEnable=1
ProfilingOutputFileEnable=1
RendererProfilingEnable=1
我的~/目录中没有mm.cfg。我确实在/Library/Application Support/Macromedia/mm.cfg中找到了一个,但其中没有任何关于评测或预加载SWF的内容。