Eclipse 工作台基本概念>编辑器
2011-09-22 10:37
253 查看
在FlexBuilder中运行app没有问题,复制项目的 bin-debug 文件夹给同事看,报错
Error #2044: 未处理的 securityError:。 text=Error #2140: 安全沙箱冲突:file:///C|/Documents%20and%20Settings/aaa/桌面/flexproject/bin%2Ddebug/main.swf 不能加载 file:///C|/Documents%20and%20Settings/aaa/桌面/flexproject/bin%2Ddebug/assets/swf/loading.swf。仅限于文件系统的 SWF 文件和仅限于网络的 SWF 文件不能彼此加载。
解决办法如下
右键 project -> properties -> Flex Compiler -> Compiler options -> Additional compiler arguments 中添加
-use-network=false
保存后再编译就解决了。
Error #2044: 未处理的 securityError:。 text=Error #2140: 安全沙箱冲突:file:///C|/Documents%20and%20Settings/aaa/桌面/flexproject/bin%2Ddebug/main.swf 不能加载 file:///C|/Documents%20and%20Settings/aaa/桌面/flexproject/bin%2Ddebug/assets/swf/loading.swf。仅限于文件系统的 SWF 文件和仅限于网络的 SWF 文件不能彼此加载。
解决办法如下
右键 project -> properties -> Flex Compiler -> Compiler options -> Additional compiler arguments 中添加
-use-network=false
保存后再编译就解决了。
相关文章推荐
- Eclipse 工作台基本概念>快速视图
- Eclipse 工作台基本概念>标记
- Eclipse 工作台基本概念>路径变量
- Eclipse 工作台基本概念>资源
- Eclipse 工作台基本概念>资源过滤器
- Eclipse 工作台基本概念>本地历史
- Eclipse 工作台基本概念>问题视图
- Eclipse 工作台基本概念>分离视图
- Eclipse 工作台基本概念>帮助视图
- Eclipse 工作台基本概念>搜索视图
- Eclipse 工作台基本概念>资源层次
- Eclipse 工作台基本概念>工作集
- Eclipse 工作台基本概念>透视图
- Eclipse 工作台基本概念>欢迎页面
- Eclipse 工作台基本概念>提纲视图
- Eclipse 工作台基本概念>视图概述
- Eclipse 工作台基本概念>链接资源
- Eclipse 工作台基本概念>虚拟文件夹
- Eclipse 工作台基本概念>构建
- Eclipse 工作台基本概念>任务视图