Distributing with Adobe Air?

Monkey Targets Forums/Flash/Distributing with Adobe Air?

benmc(Posted 2012) [#1]
Is it possible to take a Flash or HTML5 build of my game and distribute it as an Adobe Air app somehow?


Origaming(Posted 2012) [#2]
that's strange, why need distribute with adobe air ?

try with flash develop,,,


benmc(Posted 2012) [#3]
What is flash develop? I'm trying to think of a way to distribute my games in Flash to multiple platforms to run on the desktop - kind-of like a PC game.

I like how Flash bundles all the assets into one file, whereas GLFW requires the data folder with my raw image files for anyone to mod.

EDIT: I guess I could just convert the SWF to a projector file.


Origaming(Posted 2012) [#4]
aw sorry i forgot to respon,,

you can recompile using flashdevelop or by running packageapp.bat(create new project),,
www.flashdevelop.org

swf can be decompile, using like swf decompiler,,


dragon(Posted 2012) [#5]
here are online decompiler
http://www.showmycode.com/

it is possible to grab code from flash-apps, java-classes ...

here is a decompiler that can extract graphics:
http://www.chip.de/downloads/Sothink-SWF-Decompiler_37636234.html



I do not know if it is possible to protect AIR
i found some pages with code signing cetificates
or adding licenses to AIR

but this page show that it is possible to grab source from AIR and manipulate AIR-App with license manager:

http://nitrolm.com/2009/06/how-to-hack-an-air-app-swf/



android app can also decompiled:
http://stackoverflow.com/questions/1249973/decompiling-dex-into-java-sourcecode

but it is much harder to copy and paste



I really dislike to publish app as JS or Flash - this is really unsafe.
This is only suitable for freeware or games with in-app-purchase
Better is a native compiled binary...



By the way: Angry Birds is also available as Flash:
http://chrome.angrybirds.com/


benmc(Posted 2012) [#6]
I'm not concerned about decompiling, it's more of a simplified method of distribution that I'm looking for.

If I can build once to Flash, then bundle that as an Air app, I can just put a single link on my website to play my game on your computer, with an icon on your desktop, and I would only have to maintain the one target (flash). And it can run on any platform that supports Air. No Mac or Windows store required either (I don't believe).


dragon(Posted 2012) [#7]
time ago i downloaded a android air game from google app store
it don't run out of the box and i must install air first
this was done automatically