You're going to need to overlay the AIR 2.0 SDK on top of the Flex SDK you're using. By default Flex 3.4 comes with AIR 1.5.
Here are some quick instructions that should get you up and running: http://labs.adobe.com/wiki/index.php/AIR_2:Release_Notes#How_to_overlay_the_Adobe_AIR_SDK_ for_use_with_the_Flex_SDK
Can someone plese post a new link on how to overlay/integrate air2 in flex builder 4?
I just want to build an air app that communicates with cs5 products.
adobe's sites are littered with dead and cyclic links, it is almost maddening.
For instance the link above leads to the dead labs page. Why does adobe decide to cut everyone off from information that was once valuable when a product comes out?
All of the documention i have found about using the Extension builder with flex builder and air 2 is either useless, outdated or unavailable.
If you follow the instructions at http://forums.adobe.com/thread/709905 to update to the latest build of Extension Builder, you'll find that the SDK provided with the toolset now automatically includes the AIR 2 APIs.
You no longer need to perform an overlay. This is also true of the CS SDK available on DevNet.
Please let us know if you have any problems using this, or it doesn't perform as you would expect.