Flex RSL 错误:加载的文件没有有效签名

发布于 2024-12-06 15:01:13 字数 772 浏览 1 评论 0原文

我正在使用 Flex SDK 4.5 创建 swf 文件,最近在尝试打开 swf 文件时出现以下错误:

[trace] 警告:忽略 http:// 的策略文件中的“安全”属性fpdownload.adobe.com/pub/swz/crossdomain.xml。 “安全”属性仅允许在 HTTPS 和套接字策略文件中使用。有关详细信息,请参阅 http://www.adobe.com/go/strict_policy_files。 [trace] 错误#2046:加载的文件没有有效的签名。 [trace] 无法加载 RSL http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21328.swz [trace] 故障转移到 RSL Framework_4.5.1.21328.swz

我完全不知道 rsl 加载步骤发生了什么。

知道如何解决这个问题,而无需将 rsl 静态链接到 swf 文件吗?

I'm using Flex SDK 4.5 to create swf files, recently I got the following error when try to open my swf file:

[trace] Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml. The 'secure' attribute is only permitted in HTTPS and socket policy files. See http://www.adobe.com/go/strict_policy_files for details.
[trace] Error #2046: The loaded file did not have a valid signature.
[trace] Failed to load RSL http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21328.swz
[trace] Failing over to RSL framework_4.5.1.21328.swz

I totally have no idea whats going on with rsl loading step.

Any idea how to solve this without have to statically linking rsl into swf file ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

庆幸我还是我 2024-12-13 15:01:13

请检查您的 .swz mime 类型设置,至少在我的情况下,尝试从应用程序文件夹而不是 Adob​​e 加载签名的 Adob​​e 框架 SDK 库 4.5.1 是通过在 Apache http.conf 中添加 mime 类型来实现的,如下所示

AddType application/ x-shockwave-flash .swz

Please check your mime-type setup for .swz, at least in my case trying to load signed Adobe framework SDK libraries 4.5.1 from application folder rather than from Adobe was achieved by adding mime type in Apache http.conf as follows

AddType application/x-shockwave-flash .swz

无法回应 2024-12-13 15:01:13

通常会弹出此错误,因为编译的应用程序使用的框架版本与您尝试通过 RSL 加载的框架版本不同。 Flash Player 在加载之前会验证 RSL 的文件大小摘要,因为如果加载的框架与应用程序指定的框架不同,则可能会导致不稳定的行为。

我想您正在尝试通过 Flash Builder 来完成此操作。如果是这种情况,您应该下载相同版本号的 flex sdk 并在此基础上进行构建才能正常工作。如果没有,您必须确保 RSL 指向与您正在编译的版本相同的版本。

This error normally pops up because the compiled application is using a different framework version than the one you're trying to load through RSLs. Flash Player verifies the filesize digest of the RSLs before being loaded because if a different framework is being loaded in than the one specified by the application, it can cause erratic behavior.

I would imagine you're trying to do this through Flash Builder. If that's the case, you should download the flex sdk of the same version number and build on that for it to work. If not, you'll have to make sure the RSL points to the same version as what you're compiling with.

动听の歌 2024-12-13 15:01:13

导致此问题的另一个原因可能是用户计算机上的时钟设置为错误的时间/日期。

我知道这听起来很奇怪,但这与 swz 文件上的签名的解释方式有关。

这是我们一位客户的解决方案。

Another cause of this problem can be when the clock on the user's computer is set to the wrong time/date.

I know this sounds weird, but it has something to do with how the signatures on the swz files are interpreted.

This was the solution for one of our customers.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文