What is the latest version of AIR which supports the full MX set of components?

I took an application developed and running in Flex 3.6 and migrated it to AIR using Flashbuilder 4.6. It was surprisingly easy. I had a minor issue and thought I would upgrade the AIR compiler to v32.

This caused many MX components to not be found. For example;

mx:Button
mx:Canvas
mx:HBox

and the list goes on.

The choices as I see them are;

Rewriting everything to use Spark components, or

Finding an additional MX library which integrates with the current version of AIR, or

Going to an older version AIR.

I don’t think I want to rewrite using Spark, as there is a lot of code which relies on the missing mx components. Just testing would be a chore.

Is there an mx library available which will integrate with AIR 32 or higher?

What is the newest version of AIR where all of the mx components I know & love are supported? Where/how can I get it?

It is quite likely I may not know what the heck I am doing.

What is the proper way of updating FlashBuilder 4.6 to have the latest Flex & Air SDKs?

you have a lot to catch up


first, there are 2 types of AIR SDK

see on the Download Adobe AIR SDK

That would be the same for the AIR SDK provided by Harman


Now, because you do use a Flex project, you HAVE TO select the AIR SDK that you merge with the Flex SDK

the AIR SDK does not define Flex framework classes like

mx:Button
mx:Canvas
mx:HBox

the Flex SDK does

you can download “old” Adobe Flex SDK (search the archive of this forum to find download links)

or

you can download the more recent Apache Flex SDK (see http://flex.apache.org/)

see Getting Started with Apache Flex
if you do use this more recent SDK you will probably have to update your code

because there are more than just the mx namespace
the old namespace xmlns:mx="library://ns.adobe.com/flex/mx"
the intermediary spark namespace xmlns:s="library://ns.adobe.com/flex/spark"
the new namespace xmlns:fx="http://ns.adobe.com/mxml/2009

and if you want to migrate from Apache Flex to Apache Royale
it will also need some updates
see for ex: Migration of Adobe Flex to Apache Royale - Support needed

Thank you for taking the time to clearly explain what needed to be done. My issue was I chose the big Windows Download button and missed the Flex version. Things work swimmingly now.