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

3

9

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.

Hog answered 22/8, 2008 at 20:18 Comment(0)
A
22

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.

Aforementioned answered 22/8, 2008 at 20:31 Comment(1)
Using Flash Player 11, "Create Projector" is grayed out for me. Not sure why.Morelos
W
2

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).

Wane answered 22/8, 2008 at 20:38 Comment(1)
there is a tutorial on using here active.tutsplus.com/tutorials/…Brunel
F
1

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

Frontage answered 23/8, 2008 at 7:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.