Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create an EXE from a SWF using Flex 3 without requiring AIR?

I have a simple little test app written in Flex 3 (MXML and some AS3). I can compile it to a SWF just fine, but I'd like to make it into an EXE so I can give it to a couple of my coworkers who might find it useful.

With Flash 8, I could just target an EXE instead of a SWF and it would wrap the SWF in a projector, and everything worked fine. Is there an equivalent to that using the Flex 3 SDK that doesn't end up requiring AIR?

Note: I don't have Flex Builder, I'm just using the free Flex 3 SDK.

like image 496
Herms Avatar asked Aug 22 '08 20:08

Herms


3 Answers

In your Flex SDK folders you should see a 'runtimes\player\win\FlashPlayer.exe' which is a stand alone Flash player. Open your SWF with that and you'll see a 'Create Projector...' menu item in the File menu which will create the stand-alone EXE.

like image 131
imaginaryboy Avatar answered Oct 14 '22 16:10

imaginaryboy


imaginaryboy gets it right, I believe. Btw, since you don't have Flex Builder, you might look into the free and open source FlashDevelop if you're on Windows. It's my favorite environment for developing anything Actionscript (the Flex support is pretty great, too).

like image 2
Brian Warshaw Avatar answered Oct 14 '22 14:10

Brian Warshaw


There's also Zinc that also provides API:s for accessing the filesystem and other thinks that AIR does, but less restrictive.

like image 1
Theo Avatar answered Oct 14 '22 15:10

Theo