Flash Builder 4 现在是否使用 AIR 2? [英] Does Flash Builder 4 now use AIR 2?

查看:25
本文介绍了Flash Builder 4 现在是否使用 AIR 2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚获得了 CS5 主套件,其中包括 Flash Builder 4 和 Flash CS5 Pro.

I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro.

当我在 CS5 pro 中创建一个新的 AIR 应用程序时,它显示AIR 2",但是当我在 Flash Builder 中创建一个新的 AIR 项目时,我没有看到任何表明它是 AIR 2 或 1.5 的内容?

When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5?

有没有办法知道它使用的是哪个 AIR 运行时?

Is there a way to tell which AIR runtime it is using?

推荐答案

我认为您必须下载 SDK 并自行安装;但 Flash Builder 应该可以正常工作:

I think you'll have to download the SDK and st it up yourself; but Flash Builder should work fine:

http://labs.adobe.com/wiki/index.php/AIR_2:Release_Notes

如何叠加 Adob​​e AIR SDK 以与 Flex SDK 一起使用

How to overlay the Adobe AIR SDK for use with the Flex SDK

  1. 将现有 Flex SDK 文件夹中的内容复制到新文件夹中.为了例如,在 Flex Builder 中,复制以下文件夹位于:* Windows:c:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0* Mac 操作系统:/应用程序/Adobe Flex Builder3/sdks/3.2.0
  2. 为您的操作系统下载相应的 AIR SDK 文件,然后将其保存到 Flex 的根文件夹中开发工具包.* Windows:AIR20_win_sdk_XXXXXX.zip* Mac 操作系统:AIR20_mac_sdk_XXXXXX.tbz2
  3. 提取 AIR SDK 存档的内容并覆盖现有的复制文件夹中的 SDK 文件.* Windows:右键单击 ZIP 文件并选择全部提取"或者使用你的解压工具选择.* Mac OS:在终端中,cd 到 Flex SDK 的根文件夹,然后运行这个命令:* tar jxvf AIR20_mac_sdk_XXXXXX.tbz2

  1. Copy the contents an existing Flex SDK folder to a new folder. For example, in Flex Builder, copy the following folder located at: * Windows: c:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0 * Mac OS: /Applications/Adobe Flex Builder 3/sdks/3.2.0
  2. Download the appropriate AIR SDK file for your operating system and save it to the root folder of the Flex SDK. * Windows: AIR20_win_sdk_XXXXXX.zip * Mac OS: AIR20_mac_sdk_XXXXXX.tbz2
  3. Extract the contents of the AIR SDK archive and overwrite the existing SDK files in the copied folder. * Windows: Right-click on the ZIP file and select "Extract All" or use the decompression tool of your choice. * Mac OS: In Terminal, cd to the root folder of the Flex SDK and run this command: * tar jxvf AIR20_mac_sdk_XXXXXX.tbz2

  If you have trouble overwriting files due to file

权限,试试这个命令须藤焦油 jxvf AIR20_mac_sdk_XXXXXX.tbz2

permissions, try this command sudo tar jxvf AIR20_mac_sdk_XXXXXX.tbz2

在 Flex 或 Flash Builder 中,打开属性"对话框并选择Flex 编译器页面

In Flex or Flash Builder, open the Properties dialog and choose the Flex Compiler page

为生产版本更新此内容;在 http://opensource.adobe.com/下载您喜欢的 Flex SDK 版本wiki/display/flexsdk/Downloads 并在 http://www.adobe.com/cfusion/entitlement/index.cfm?e=airsdk .

To update this for the production release; go downlod your preferred version of the Flex SDK at http://opensource.adobe.com/wiki/display/flexsdk/Downloads and download the AIR 2 SDK at http://www.adobe.com/cfusion/entitlement/index.cfm?e=airsdk .

使用上面的说明(1-3)将两者叠加;然后在 Flash Builder 中配置新的 SDK(也使用上面的说明 (4-7)).

Overlay the two using the instructions above (1-3); then configure the new SDK in Flash Builder (also using the instructions above (4-7).

更新:自从我原来的帖子;Flex 4.1 SDK 已发布,其中包括相关的 AIR 2 位.您可以在此处获取

Update: Since my original post of this; Flex 4.1 SDK was released which includes the relevant AIR 2 bits. You can get it here

这篇关于Flash Builder 4 现在是否使用 AIR 2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆