It may be useful to know that I have just tested a merge of the Lab's AIR
SDK 4.7 with the Apache Flex SDK 4.9.1.  My testing has not yet been
exhaustive, but I think it works.  I am running a 4.7 AIR application
compiled with the 4.9.1 framework.  My IDE, by the way, is FlashDevelop,
which makes these sorts of things easier for me, but I am sure the same
steps will let you work with your own favorite.

A.  Download the 4.7 AIR SDK -- it no longer provides the link to the
version that does not rely on ASC2.
B.  Unzip and move the bin directory out of the way for a moment; then copy
the entire directory on top of the Flex directory in the way that we have
become accustomed over the past couple of years.
C.  The only executable from the Adobe bin that I think we want is adl.exe,
so copy that over by itself.
D.  If you build an existing application, I predict you will see MX and
Sparc components not being found.  It is not because they are not there --
the swcs are all good.  The problem is that the air-config.xml file now
only suits Mr. Thibualt Imbert's vision of what kind of applications we
should be building. Rename that to air-config.useless and copy your
last-known-good air-config.xml settings into the frameworks sub-directory
and you'll be back to a successful build and test.

On Wed, Mar 20, 2013 at 9:56 AM, João Saleiro <
joao.saleiro.webf...@gmail.com> wrote:

> Hello,
>
> I am trying to compile an existing application with Flex 4.9.1 overlayed
> with Air 3.6. I am getting errors in all mx.controls components, namely
> mx.controls.ColorPicker and mx.controls.Alert .
> I did the following:
>
> 1- Installed the installer
> 2- Downloaded all packages with the installer
> 3- Downloaded Air 3.6 SDK from http://www.adobe.com/devnet/**
> air/air-sdk-download-win.html<http://www.adobe.com/devnet/air/air-sdk-download-win.html>
> 4- Unzipped the Air SDK on top of the Flex SDK
> 5- Added the SDK to Flash Builder and changed the project SDK to the new
> one
> 6- Changed my descriptor to 
> http://ns.adobe.com/air/**application/3.6<http://ns.adobe.com/air/application/3.6>
> 7- Tried to compile
>
> When compiling, I'm getting "1046: Type was not found or was not a
> compile-time constant: ColorPicker." , and the same for "Alert".
>
> I checked the contents of C:\bin\flex4.9.1air3.6\**
> frameworks\projects\mx\src\mx\**controls and ColorPicker is there, like
> all other controls. But the compiler is being unable to locate them.
>
> Any clue why this is happening?
>
> Thanks,
>
> JS
>
>
>

Reply via email to