Adobe AIR 安全性错误加载 .swf 与 RSS [英] Adobe AIR Security Error loading .swf with RSS

查看:39
本文介绍了Adobe AIR 安全性错误加载 .swf 与 RSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Adob​​e AIR 应用程序中使用 SWFLoader 加载 swf 文件.问题是在 swf 加载后,Adobe AIR 向我显示以下错误.我知道这个 swf 试图从网络下载 RSS 文件.

I'm trying to load an swf file using SWFLoader in Adobe AIR app. The problem is that after the swf loads, Adobe AIR shows me the following error. I know that this swf tries to download an RSS file from the web.

SecurityError:错误 #2028:本地文件系统 SWF 文件 file:///xfile.swf 无法访问互联网

SecurityError: Error #2028: Local-with-filesystem SWF file file:///xfile.swf cannot access Internet

我该如何解决?有谁有想法吗?

How can i fix it? Does anyone have any idea?

谢谢,

推荐答案

在 AIR 中,从 AIR 文件内容之外加载的 SWF 被放入沙箱中.您需要在 AIR 文件中包含正在加载的 SWF 文件.如果这是不可能的,那么您需要确保加载的 SWF 不会试图脱离沙箱.阅读有关 AIR 沙箱的更多信息:

In AIR SWFs that are loaded from outside of the contents of the AIR file get put into a sandbox. You need to include the SWF file you are loading in your AIR file. If that is not possible then you will need to make sure that the loaded SWF doesn't try to get outside the sandbox. Read more about the AIR sandbox:

这篇关于Adobe AIR 安全性错误加载 .swf 与 RSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆