[Flash Builder] 禁用安全沙箱警告(不修复它们)
我正在构建一个项目,其中使用从网络加载的外部 API,并且还在本地加载文件。据我了解,我无法在不导致安全沙箱错误的情况下加载本地和外部文件。
一旦我打开 API,它似乎会尝试监听鼠标事件等,并导致每一帧出现安全沙箱错误。
这真的很烦人,因为我试图跟踪一些调试输出,但我无法读取它们,因为它们被错误消息淹没了。
我知道我无法修复它,但我只想禁用这些警告。 有什么办法吗?
(请不要发布解决方案来修复错误,我尝试了所有这些)
我只想禁用这些消息。
这是错误消息:
* 安全沙箱违规 * SecurityDomain “http://agi.armorgames.com/assets/agi/AGI.swf”尝试访问 不兼容的上下文 '文件:///D|/Flash/Projects/LastChapel/bin%2Ddebug/LastChapel.swf'
I am building a project where I use an external API loaded from the web, and I also load files locally. As I understand it, I cannot load both local and external files without causing a security sandbox error.
Once I open the API it seems to try and listen to mouse events and such, and causes a security sandbox error every single frame.
Its really annoying since I am trying to trace some debug outputs but I can't read them as they get overwhelmed by the error messages.
I know I cannot fix it, but I would simply like to disable these warnings.
Is there any way?
(please don't post solutions to fix the error, I tried all of them)
I just want to disable the messages.
Here is the error message:
* Security Sandbox Violation * SecurityDomain
'http://agi.armorgames.com/assets/agi/AGI.swf' tried to access
incompatible context
'file:///D|/Flash/Projects/LastChapel/bin%2Ddebug/LastChapel.swf'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过更改 Flash 全局设置?右键单击动画并更改受信任位置设置以添加您的 URL。
这里有一些信息:http://help.adobe.com/en_US/FlashPlayer/LSM/WS6aa5ec234ff3f285139dc56112e3786b68c-7ff0.html#WS6aa5ec234ff3f285139dc56112e3786b68c-7feb
Have you tried to change flash global settings ? Right click on the animation and change trusted locations settings to add your URLs.
There is some info here : http://help.adobe.com/en_US/FlashPlayer/LSM/WS6aa5ec234ff3f285139dc56112e3786b68c-7ff0.html#WS6aa5ec234ff3f285139dc56112e3786b68c-7feb