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

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

问题描述

我收到了一个旧的flex项目的继承。我从来没有使用过Flex。我安装了最新的Flash Builder,我需要知道使用的Flex SDK的确切版本。有没有什么办法可以从项目文件中知道使用的SDK版本?



预先感谢!

解决方案这是一个AIR项目,你可以打开-app.xml,基于这个项目的构建和签出应用程序的命名空间



< application xmlns =http://ns.adobe.com/air/application/1.0>



表示AIR 1.0(Flex SDK 3.2)

< application xmlns =http://ns.adobe.com/air/表示AIR 2.0项目(SDK 4.0?)














$

如果是WebProject(在FlashPlayer上运行),请检查项目中的 .actionScriptProperties 文件。在我的一个项目文件的编译器标签下,我可以找到一个名为 flexSDK =Flex 3.2 。不知道这是否会出现在每个项目,因为我找不到其他项目的同一个属性。



还有一件事你可以检查目标FlashPlayer版本打算反对。检查 .actionScriptProperties 编译器标记的 htmlPlayerVersion 属性>文件。


$ b 如果htmlPlayerVersion大于或等于 10.0.0 ,则应该使用Flex SDK 3.2或以上。

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?

Thanks in advance!

解决方案

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

<application xmlns="http://ns.adobe.com/air/application/1.0">

Represents AIR 1.0 (Flex SDK 3.2)

<application xmlns="http://ns.adobe.com/air/application/2.0">

Represents an AIR 2.0 Project (SDK 4.0 ?)

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.

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.

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天全站免登陆