在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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值