Adobe Air
From OpenLaszlo
To package a swf10 app as an adobe air file, I did the following
- Create a swf 10 object file with the 'air' option to flex
lzc --flex-options=air main.lzx
- Create an air config XML file, example:
<?xml version="1.0" encoding="utf-8" ?> <application xmlns="http://ns.adobe.com/air/application/2.0"> <filename>Mobile Webtop Demo</filename> <customUpdateUI>false</customUpdateUI> <name>MobileWebtop</name> <id>MobileWebtop</id> <version>1</version> <initialWindow> <content>main.swf10.swf</content> <height>900</height> <width>480</width> <systemChrome>standard</systemChrome> <transparent>false</transparent> <visible>true</visible> </initialWindow> </application>
- I generate key certificate:
adt -certificate -cn COMMONNAME KEYTYPE CERTFILE PASSWORD ~/openlaszlo/adobe/trunk/bin/adt -certificate -cn foo 1024-RSA test_cert.p12 mypass
- then generating air file :
- adt -package SIGNINGOPTIONS AIRFILENAME FILESTOINCLUDE
~/openlaszlo/adobe/trunk/bin/adt -package -storetype pkcs12 -keystore test_cert.p12 webtop.air webtopair.xml main.swf10.swf
See http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7fd6.html and

