获得瑞士法郎版本信息 [英] getting swf version info
问题描述
如何在运行时获取此值?请注意,我并不是在谈论Flash Player版本,而是swf所链接的版本。
得到确切的目标版本。你可以得到SWF文件的版本,但是不一样。当您在该面板中编辑目标版本时,Flex会针对不同的playerglobal.swc编译,但不一定会更改SWF文件版本。
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:
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.
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.
这篇关于获得瑞士法郎版本信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!