Update Flex Builder to use the Adobe AIR 1.1 SDK
Adobe AIR 1.1 version is available now. To use this new AIR version with Adobe Flex Builder 3 (or Adobe Flex 3 SDK), you need a newer version of Flex SDK, and you need to manually update some configuration settings.
To update Flex Builder to use the AIR 1.1 SDK:
- If you haven't done so, download the AIR 1.1 runtime from get.adobe.com/air/.
- The Adobe Flex SDK includes support for AIR 1.1 in the 3.0.2 stable build. See www.adobe.com/devnet/flex/articles/flex_air1.1.html for more details. Download the 3.0.2 build from opensource.adobe.com/wiki/display/flexsdk/Download Flex 3.
- Create a new folder under your Flex Builder 3 SDK directory. For example, C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.2.
- Unzip the downloaded zip file to above location.
- If your application uses Flex Builder Professional features, such as data visualization components or automated testing, you will need to copy those elements from the 3.0.0 SDK that came with Flex Builder into your newly downloaded 3.0.2 SDK. The relevant files that you need to copy are:
For automated testing (all the swc files start with "automation"):
- <sdk3.0.0dir>/frameworks/libs/automation*.swc
- <sdk3.0.0dir>/frameworks/locale/en_US/automation*.swc
For data visualization components:
- <sdk3.0.0dir>/frameworks/libs/datavisualization.swc
- <sdk3.0.0dir>/frameworks/locale/en_US/datavisualization_rb.swc
- <sdk3.0.0dir>/frameworks/rsls/datavisualization_3.0.0.477.*
Note: for uses of localized (Japanese) OS, create a new folder "ja_JP" under the new 3.0.2 SDK, at <sdk3.0.2dir>\frameworks\locale, and copy relevant swc files from <sdk3.0.0dir>/frameworks/locale/en_US. So you should have the following in your 3.0.2 SDK:
- <sdk3.0.2dir>/frameworks/locale/ja_JP/automation*.swc (all the automation swc files)
- <sdk3.0.2dir>/frameworks/locale/ja_JP/datavisualization_rb.swc
For source:- <sdk3.0.0dir>/fbpro
To run AIR 1.1 in Flex Builder 3:
- Create a new project in Flex Builder 3.
- Add the newly created SDK 3.0.2 to the Flex Builder compiler list by doing the following:
- ChooseProject > Properties > Flex Compiler.
- Click Configure Flex SDK to open the Installed SDK dialog box.
- Click Add, and then browse to the 3.0.2 SDK location.
- Enter a name like "Flex 3.0.2" as the Flex SDK name.
- Click OK on each of the dialog boxes to save the change.
- Click Use a Specific SDK, choose Flex 3.0.2 as the specific SDK, and then click OK.
- For any existing AIR application, update your application descriptor (<applicationname>-app.xml) and on the root tag change
to.
Note: There is a bug in Flex Builder 3.0 that prevents it from using the AIR 1.1 descriptor by default, even if you create a new project using the 3.0.2 SDK. Because of that, you must manually update the descriptor for any AIR project that you create if you wish it to target AIR 1.1.
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
