user824249
user824249

Reputation:

How to know exact flex sdk version from existing project files?

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!

Upvotes: 6

Views: 4022

Answers (2)

midhunhk
midhunhk

Reputation: 5554

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.

Upvotes: 4

mgraph
mgraph

Reputation: 15338

Right-click on project folder in flash builder, then property, then flex compilator.

Upvotes: 1

Related Questions