Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build actionscript 3 project to exe

As simple as the title, I want my project to run from an executable file rather than an swf

I know about the 'create projector' option but the latest flash player has this option grayed out.

I use flash develop if it matters

Thanks in advance

like image 742
Radicate Avatar asked Jan 18 '26 11:01

Radicate


2 Answers

As Flextras mentioned in the comments you can distribute your AIR app as an exe+dmg by packaging it as a captive runtime.

This will bundle the AIR runtime alongside your app and will not require the user to have anything else installed. Everything needed will be contained in the application binary.

You can use adt to build your exe,

http://www.tricedesigns.com/2011/08/10/air-3-0-captive-runtime/

adt -package SIGNING_OPTIONS? -target bundle SIGNING_OPTIONS? <output-package> ( <app-desc> FILE-OPTIONS | <input-package> )

More info,

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html

You can also build it right from Flash Builder 4.6+

http://houseofbilz.com/archives/2011/10/11/captive-runtime-packaging-in-air-3-0/

If you do have dependencies you can also package your AIR app as a native desktop installer,

http://help.adobe.com/en_US/air/build/WS789ea67d3e73a8b22388411123785d839c-8000.html

http://www.adobe.com/devnet/air/articles/air3-install-and-deployment-options.html#articlecontentAdobe_numberedheader

like image 148
francis Avatar answered Jan 21 '26 08:01

francis


If you run your .swf file using Flash Player 10.1, you can find Create Projector option still available. It looks like Adobe wants all the desktop applications to use AIR SDK and thus this option to Create Projector is greyed out. I am still stuck with fp 10.1 because of this.

like image 34
Chetan Sachdev Avatar answered Jan 21 '26 08:01

Chetan Sachdev