获取 swf 版本信息 [英] getting swf version info

查看:42
本文介绍了获取 swf 版本信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 FlashBuilder 的编译器选项(属性->Flex 编译器)中,在Adobe Flash Player 选项"下有一个使用特定版本"选项,您可以在其中告诉它要链接的 Flash Player:

In FlashBuilder's compiler options (Properties->Flex Compiler), under "Adobe Flash Player options" there is an option for "Use a specific version", where you can tell it what Flash Player to link against:

我如何在运行时获得这个值?请注意,我说的不是 Flash Player 版本,而是 swf 所链接的版本.

How do I get this value at runtime? Note that I am not talking about the Flash Player version, but the version that the swf was linked against.

推荐答案

您无法获得准确的目标版本.您可以获得 SWF 文件版本,但这并不相同.当您在该面板中编辑目标版本时,Flex 会针对不同的 playerglobal.swc 进行编译,但不一定会更改 SWF 文件版本.

You can't get that exact target version. You can get the SWF file version, but that is not the same. When you edit the target version in that panel, Flex compiles against a different playerglobal.swc, but doesn't necessarily change the SWF file version.

这篇关于获取 swf 版本信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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