在flash cs5.5中使用 Adobe AIR 3.1 SDK

在windows下開發的air應用(air2.6),發佈到ubuntu下(air2.6),出現無法安裝的情況。

需要更新windows下air發佈的版本。

原文:http://kb2.adobe.com/cps/908/cpsid_90810.html

步驟如下:

軟件下載地址:http://airdownload.adobe.com/air/win/download/latest/AdobeAIRSDK.zip

Below are instructions for overlaying the AIR 3.1 SDK in Flash Professional CS5.5.

Note: This information is provided to advanced developers who are interested in using the AIR 3.0 SDK 
with Flash Professional CS5.5. However, Adobe does not provide technical support when overlaying.
 If you require assistance, visit the Flash Professional forums.

  1. Download the latest AIR SDK (http://www.adobe.com/products/air/sdk/).
  2. Unzip the relevant archive:
  • archive_air_3.1_withdrm_sdk / AdobeAIRSDK.zip (Win)
  • archive_air_3.1_withdrm_sdk.dmg / AdobeAIRSDK.tbz2 (Mac)
  1. Close Flash Professional CS5.5.
  2. Browse to either of the following to locate the AIR2.6 folder:
  • C:\Program Files\Adobe\Adobe Flash CS5.5\ (Win)
  • Applications/Adobe Flash CS5.5/ (Mac)
  1. Change the AIR2.6 folder name to AIR2.6OLD or delete it if you don't want to save a copy of it.
  2. Rename the unzipped folder (SDK folder) to AIR2.6.
  3. Place the folder in either of the following locations:
  • C:\Program Files\Adobe\Adobe Flash CS5.5\ (Win)
  • Applications/Adobe Flash CS5.5/ (Mac)
  1. Browse to the AIR2.6/frameworks/libs/air/ folder in the Adobe Flash CS5.5 folder and copy airglobal.swc.
  2. Paste the SWC file in Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/AIR2.6/ to overwrite the existing airglobal.swc file.
  3. Open AdobeAIR2_6.xml, AiriPhone.xml, or Android.xml inside Adobe Flash CS5.5/Common/Configuration/Players/ using any text editor.
  4. Change the version attribute of the player tag from 11 to 14 and save the file and tag 2.6 to 3.1. Make sure that it looks as follows for the relevant file: 
    Android.xml<player id="android_0" version="14" asversion="3" minasversion="3">
    AiriPhone.xml<player id="PFI1_0" version="
    14" asversion="3" minasversion="3">
    AdobeAIR2_6.xml<player id="AdobeAIR2_6" version="
    14" asversion="3" minasversion="3"><name>AIR 3.1</name>
  5. Browse to Adobe Flash CS5.5/AIR2.6/samples/ and open the descriptor-sample.xml file with any text editor.
  6. Save and close the file.

發佈了26 篇原創文章 · 獲贊 3 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章