Question

I'm putting together a program that runs on the desktop rather than being an online program. There are relatively easy ways (http://swf-to-exe.com/) to do that for Windows. Now I need to put together something for Macs. I asked this before and got some good hints which I am now pursuing. This page was recommended.

Can somebody explain what this means? I find adt.bat and adt.jar files, but I am clueless as to what these directions are telling me to do:

adt -package 
    -keystore ../cert.p12 -storetype pkcs12 
    -target bundle 
    myApp.app 
    myApp-app.xml 
    myApp.swf icons resources

I've been doing many searches for information about this but haven't found it.

Here are the instructions I got from Jeff Ward in this question:

In Flash Develop, I created an "AIR AS3 Projector" type project named DesktopTest. I then modified the Packager.bat file according to the article I posted above. Change the OUTPUT and call adt lines and leave the other lines of the file in-tact:

set OUTPUT=-target bundle %AIR_NAME% And:

call adt -package %OPTIONS% %SIGNING_OPTIONS% %OUTPUT% %APP_XML% %FILE_OR_DIR% You then need to run CreateCertificate.bat once (right-click, execute). After that, compile your project and run PackageApp.bat. For my project named DesktopTest, this results in a DesktopTest sub directory that is my compiled app, with a DesktopTest.exe in it.

That part makes sense. What I don't understand is how to deal with the information from Adobe. I'm sure it's simple, but this is an area I haven't dealt with much and I'm drawing a blank.

Was it helpful?

Solution 2

Just got the following from Phillipe, the admin on the FlashDevelop discussion board:

Yes AIR allows you to package a SWF into an application.

This isn't simple though and everything has to be done through the command line. You'll have to search quite a bit to figure how things work but that's quite powerful.

It looks like this is not well documented. If anybody knows of a good place for documentation, please let me know.

OTHER TIPS

Quick google search brought up this: http://www.multidmedia.com/software/zinc/#Download it works for both Mac OS X and Windows.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top