2

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

[trace] 警告:忽略来自http://fpdownload.adobe.com/pub/swz/crossdomain.xml的策略文件中的“安全”属性。'secure' 属性只允许在 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 文件中吗?

4

3 回答 3

2

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

AddType application/x-shockwave-flash .swz

于 2012-04-30T07:53:35.947 回答
1

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.

于 2011-09-27T01:33:11.233 回答
0

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

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

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

于 2012-06-11T21:54:23.083 回答