The default AIR SDK is not compatible as an overlay for Flex. Did you choose the Flex-specific download in the fine print on the downloads page?
On 3/20/13 9:58 AM, "Roland Zwaga" <rol...@stackandheap.com> wrote: > hehe actually I ran into the exact same issue today, no idea what caused > it, any insight would be pretty nice :) > > On 20 March 2013 17:56, 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-downloa >> d-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 >> >> >> > -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui