设置 Flash CS4 以使用 Adobe AIR 2.6
我使用 FlashDevelop 作为我的代码编辑器,并使用 Flash CS4 IDE 来发布我的 AIR 文件(以及资源控制、动画创建等...)。这样做的好处是 Flash IDE 也可以非常轻松地处理创建证书之类的所有麻烦事。
Flash CS4 使用 Adobe AIR 1.5,该版本非常旧,我想将其更新到 AIR 2.6,截至目前撰写本文时,这是 AIR 的最新版本。另外,我不知道这是否有任何意义,但我现在想发布适用于 Android 的 AIR 应用程序。我过去使用 AIR 1.5 成功制作了一个适用于 PC 的 AIR 应用程序。
我从 Adobe 网站下载了 AIR 2.6 SDK,并替换了 Flash 安装的“AIK1.5”文件夹中的所有文件(该文件夹仍然命名为 1.5,这本身就让我很恼火)。
我还必须采取其他步骤吗?因为我不确信我正在发布 AIR 2.6 应用程序,因为 AIR 项目中的 application.xml
文件仍然显示:
<application xmlns="http://ns.adobe.com/air/application/1.5">
如果我更改 .xml 中的版本,Flash 会爆炸(不会编译) ,给我一个错误)。
此外,如果我去 File >发布设置,然后是 Flash 选项卡,播放器字段显示为“Adobe AIR 1.5”。这是对的吗?我假设即使您成功更新了 AIR 版本,情况也将始终如此,因为显然 Adobe 懒得更新 CS4,以便它可以从逻辑上找出它具有新版本的 AIR。
另外,如果 AIR 是免费的,为什么 Adobe 不至少发布 CS4 更新来更新它使用的 AIR 版本。这似乎完全在他们的权力范围内,而且他们不为购买他们软件的人这样做,这似乎是令人难以置信的疏忽。
请,如果您可以提供清晰的逐步帮助,因为我在开发配置和其他方面非常无知。我只想写代码然后离开。
更新
使用 AIR 2.6 更新 Flash 的 AIR 库并编译 AIR 项目后,确保使用 AIR SDK 中的新应用程序描述符模板。我最初认为它只需要将版本号从 1.5 更改为 2.6 或您正在使用的任何新版本。如下所示。
<application xmlns="http://ns.adobe.com/air/application/1.5">
但是格式改变了,你确实需要使用新的模板,否则它将无法工作。当您编译时,您不会自动获得已编译的 .swf 的预览。如果您错误地设置了描述符文件,这种情况也会在 FlashDevelop 中发生。
I use FlashDevelop as my code editor and the Flash CS4 IDE for publishing my AIR files (as well as asset control, animation creation etc...). The bonus of this is the Flash IDE handles all the crap of creating certificates and whatnot very easily as well.
Flash CS4 uses Adobe AIR 1.5, which is very old and I am wanting to update it to AIR 2.6, which as of current writing, is the latest version of AIR. Also, I don't know if this is of any significance, but I would like to publish AIR apps for Android now. I've successfully made an AIR app for PC in the past, using AIR 1.5.
I downloaded the AIR 2.6 SDK from the Adobe website and replaced all the files inside the "AIK1.5" folder of my Flash installation (the folder being still named 1.5 inherently annoys me).
Is there any other steps I must take? Because I'm not convinced I'm publishing AIR 2.6 apps as the application.xml
file in my AIR project still reads:
<application xmlns="http://ns.adobe.com/air/application/1.5">
If I change the version in the .xml, Flash explodes (doesn't compile, gives me an error).
Furthermore, if I go File > Publish Settings, then the Flash tab, the player field reads as "Adobe AIR 1.5". Is this right? I'm assuming this will always be this way, even if you do successfully update the AIR version, since apparently Adobe is too lazy to update CS4 so that it can logically figure out it has the new version of AIR.
Also, if AIR is free, why the hell does Adobe not at the very least, release updates to CS4 that update the version of AIR it uses. This seems to be fully within their power, and it seems incredibly negligent that they don't do this for people who have bought their software.
Please, if you could provide clear step by step help, because I'm very ignorant when it comes to development configurations and stuff. I just want to write code and be off.
UPDATE
Once you've updated Flash's AIR library with AIR 2.6, and have compiled your AIR project, make sure you use the new application descriptor template from the AIR SDK. I originally thought it just required changing the version number from 1.5 to 2.6 or whatever new version you're using. As seen below.
<application xmlns="http://ns.adobe.com/air/application/1.5">
But the format as changed, and you really need to use the new template, otherwise it won't work. And when you compile you won't automatically get a preview of your compiled .swf. This will happen in FlashDevelop too if you've set-up your descriptor file incorrectly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Bzzzzzzt 错了,您可以按照本教程中的概念分解您的 CS IDE 并使其工作,它们应该可以帮助您继续前进,并且您应该能够从那里将其拼凑在一起。
http://swfhead.com/blog/?p=16
如果您有任何问题,只需发表评论我会帮你整理。
Bzzzzzzt wrong you can hack apart your CS IDE and get it working follow the concepts in this tutorial, they should get you going and you should be able to piece it together from there.
http://swfhead.com/blog/?p=16
If you have any problems just post a comment I'll help you sort it.
您将需要购买最新版本的Creative Suite或Flash/Flash Builder,以提前最新版本的Air。
像其他任何软件一样,版本版本都具有特定功能和新版本支持新功能并集成到其他较新技术中。
就像Microsoft在Windows 2003中提供DOCX支持的能力一样,但这只会导致兼容,支持和许可问题。
You will need to purchase the latest version of Creative Suite or Flash/Flash Builder to take advance of the latest versions of AIR.
Like any other software, releases are versioned with specific features and newer versions support newer features and integration into other newer technologies.
Its like Microsoft is well in their power to provide docx support in windows 2003, but that would just cause compatibilty, support and licensing issues.
这些是 Flash cs 5 的教程:
http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-flash-cs5/
这些是教程Flash cs 5.5:
http://www.yeahbutisitflash.com/?p=2949
http://helpx.adobe.com /x-productkb/multi/overlay-air-sdk-flash-professional.html
这是 Flash cs 6 的教程:
http://www.leebrimelow.com/?p=3335
These are the tutorial for Flash cs 5:
http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-flash-cs5/
These are the tutorial for Flash cs 5.5:
http://www.yeahbutisitflash.com/?p=2949
http://helpx.adobe.com/x-productkb/multi/overlay-air-sdk-flash-professional.html
This is the tutorial for Flash cs 6:
http://www.leebrimelow.com/?p=3335