Flex 模块抛出安全沙箱违规
我将一个独立的 Flex 应用程序转换为一个模块。现在它是一个模块,当我登录(并调用后端服务)时,我遇到了安全沙箱违规。
登录处理程序抛出此错误字符串:'发送失败',并具有更具描述性的:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed:url: 'http://myUrl:8080/AppManager/messagebroker/ amf'。
然后 FB 控制台会抛出“未处理的安全沙箱违规错误”。
将应用程序转换为模块会导致沙箱违规吗?
感谢您提供任何有用的提示。
I converted a standalone Flex app into a module. Now that it's a module, when I login (and call the backend services), I'm getting a security sandbox violation.
The login handler throws this fault String: 'Send Failed', with a more descriptive: 'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed:url: 'http://myUrl:8080/AppManager/messagebroker/amf'.
Then the FB console throws an 'unhandled security sandbox violation error'.
Can converting an app into a module cause a sandbox violation?
Thanks for any helpful tips.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我正在广泛使用模块,但还没有遇到这个问题。我遇到了一些内存问题,我必须通过在主模块中实际声明模块的实例来解决这些问题...我不必创建一个实例,只需声明一个变量即可获得正确的链接,然后拥有所有其他模块针对该主模块进行编译。内存错误消失了,所有其他模块也小得多。
I'm making extensive use of modules and haven't run into this. There are memory issues I ran into that I had to fix by actually declaring an instance of the modules in the main modules...I didn't have to create an instance, just declare a variable to get the linkage right, then have all the other modules compile against that main module. Memory errors went away, and all the other modules were much smaller too.