Using Flex to develop air applications is a hassle to configure if you want to use the latest SDK.
Flex donated to Apache for maintenance, air or adobe to maintain it, then you have to download the latest SDK on both sides and then integrate themselves (Apache seems to provide such a tool flex SDK installer, because of the national conditions and may also have a bug in the tool itself , has been downloaded github.com/swfobject/swfobject/archive failed, after checking this page 404, I have not installed successfully)
The steps are as follows:
1. Download Flex sdk:http://flex.apache.org/download-binaries.html
2. Download Air sdk:http://www.adobe.com/devnet/air/air-sdk-download.html Note: Air is going to be in the box below that is for flex users.
3. Unzip the Flex SDK to Flex_air (at your own discretion) and unzip the Air SDK to cover the Flex_air directory.
If the direct import of FB at this time, may be quoted {Airhome} and {Playerglobalhome} error, because some of the relevant parameters are not properly configured, please continue to the following several steps
4. Enter the frameworks directory and find the following three files: Air-config.xml (Air profile), Airmobile-config.xml (Air mobile app profile), Flex-config.xml (Flex profile)
5. Modifications
<!--- <target-player>16.0</ Target-player > <!-- - <swf-version></ Swf-version>
Download the version for yourself (I'm air16.0.0 here)
6. Modifications
<!--List of SWC files or directories to compile against and omit from - <!--linking. - <External-library-path> <path-element>Libs/player/{targetplayermajorversion}. {TARGETPLAYERMINORVERSION}/PLAYERGLOBAL.SWC</path-element> </External-library-path>
<!--List of SWC files or directories that contain SWC files. - <Library-path> <path-element>Libs</path-element> <path-element>Libs/mx</path-element> <path-element>Locale/{locale}</path-element> <path-element>Libs/player/{targetplayermajorversion}. {Targetplayerminorversion}</path-element> </Library-path>
These two, here is relative path, relative directory is x:/flex_air/frameworks/, oneself according to the actual situation to revise each URL is not correct, I this is already modified good flex_config.xml
OK, now you are done, import FB start using it!
This article refers to Brother Zengrong's article: http://zengrong.net/post/1848.htm
Reprint please specify the source http://www.cnblogs.com/DarkMaster/p/4200020.html
Have a problem welcome mail communication [email protected]
How to integrate the latest Flex SDK and Air SDK.