为什么 -use-network=false [英] Why -use-network=false
问题描述
谁知道为什么我必须在我的 Flex Builder 中使用 -use-network=false?!?!?!
Dose anyone knows why I have to use -use-network=false in my Flex Builder?!?!?!
这是在项目属性中设置的,是额外的编译器参数.
This is set inside the Project Properties and is Additional compiler argument.
这只是当我想读入像 XML 这样的外部文件时.
This is only when I want to read in a external file like XML.
我团队中的其他人不必拥有 -use-network=false ????
Others in my team doesn't have to have -use-network=false ????
推荐答案
如果您团队的其他成员不必使用 -use-network=false,那么他们可能已经设置了全局信任权限.出于良好的安全原因,您通常无法使用 Flash 文件访问本地文件.当您进行开发时,您需要能够在本地访问文件.为此,您有两个选择:
If other members of your team don't have to use -use-network=false then they probably have global trust permisions set up. You can't access local files with a Flash file ordinarily, for good security reasons. When you're developing though you need to be able to access files locally. To do that, you have two options:
- -use-network=false 反转信任,但在部署时您必须将其还原;
- 设置全局权限,以便在您的 dev 文件夹中,这些规则不适用:查看这篇文章了解详情
这篇关于为什么 -use-network=false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!