如何从现有项目文件中知道确切的 flex sdk 版本? [英] How to know exact flex sdk version from existing project files?

查看:26
本文介绍了如何从现有项目文件中知道确切的 flex sdk 版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到了一个继承的旧 flex 项目.我从未与 Flex 合作过.我安装了最新的 Flash Builder,我需要知道所用 Flex SDK 的确切版本.有没有办法从项目文件中知道使用的 SDK 版本?

I received an inheritance old flex project. I've never worked with Flex. I installed the latest Flash Builder and I need to know the exact version of used Flex SDK. Is there any way to know used SDK version from project files?

提前致谢!

推荐答案

是否是AIR项目,可以打开-app.xml,根据其构建项目,查看应用命名空间

Is it's an AIR project, you can open up the -app.xml, based on which the project is built and check out the application namespace

代表 AIR 1.0 (Flex SDK 3.2)

Represents AIR 1.0 (Flex SDK 3.2)

代表一个 AIR 2.0 项目(SDK 4.0?)

Represents an AIR 2.0 Project (SDK 4.0 ?)

如果它是 Web 项目(在 FlashPlayer 上运行),请检查项目中的 .actionScriptProperties 文件.在我的一个项目文件中,在 compiler 标记下,我可以找到一个名为 flexSDK="Flex 3.2" 的属性.不确定这是否适用于每个项目,因为我找不到其他项目的相同属性.

If it's a WebProject (that runs on FlashPlayer), check the .actionScriptProperties file in your project. In one of my project files, under the compiler tag, I can find a property called flexSDK="Flex 3.2". Not sure if this will be there for every project, as i could not find the same property for other projects.

您可以检查的另一件事是您要编译的目标 FlashPlayer 版本.检查 .actionScriptProperties 文件中 compiler 标记的 htmlPlayerVersion 属性.

One more thing you can check is the target FlashPlayer version you are going to compile against. Check the htmlPlayerVersion property of the compiler tag in your .actionScriptProperties file.

如果 htmlPlayerVersion 大于或等于 10.0.0,则应使用 Flex SDK 3.2 或更高版本.

If the htmlPlayerVersion is greater than or equal to 10.0.0, you should use Flex SDK 3.2 or above.

这篇关于如何从现有项目文件中知道确切的 flex sdk 版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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