开发者

Publish a Flex project, which is better option SWF or AIR?

开发者 https://www.devze.com 2022-12-22 01:26 出处:网络
If I made a project with flex, and i want to distribute it, what it´s the better choice? i mean, it is not internet app, just d开发者_运维知识库esktop demo, what about the computer where application

If I made a project with flex, and i want to distribute it, what it´s the better choice? i mean, it is not internet app, just d开发者_运维知识库esktop demo, what about the computer where application should be executed, there is any way to pack the application togheter with the flash/AIR player, in order that everything needed will be just in the exe or dmg file?


AIR is cross platform so if you go that route you should only have to generate one deliverable. Otherwise you'll need to make a PC projector and a Mac projector.


If you export it as an air application the clients will need to have air installed.

There is an option to deploy an air 2.0 application as an executable


click&go solution ? Deploy it online as a Flex app. Using Flash Player, it will be loaded without any problem in any browser. Just give your boss the URL he'll be good to go !


You can try exporting with a Captive Runtime. It creates either folder with the Windows files or an .app bundle on Mac. The user will not need to install Adobe AIR or Flash Player to use it. One drawback is that it has to be built on Windows for the window executable, and on a Mac for the .app Mac file.

See Packaging a captive runtime bundle for desktop computers from Adobe's site for more information.

I believe you need to be using at least AIR 3.5 to generate an application with the captive runtime for desktop.

If you are using Flash Builder 4.7, there should be an option for exporting with the captive runtime. If you are using Flash Builder 4.6 or less, you can do it through command line with ADT.

0

精彩评论

暂无评论...
验证码 换一张
取 消