In your AIR application, if you overwrite the application menu, you might find that the keyboard shortcuts (e.g. Cmd-C, V) doesn’t work under Mac. It seems the “Edit” menu in the default application is essential to these functions. So you should at least keep the “Edit” menu if you need to use your own menu.
First, your asdoc.exe should be in your system path
- Open command window, cd to your project folder. In this folder, you should find src folder
- Run command
asdoc -source-path .\src -doc-sources .
- Then a folder called “asdoc-output” will be generated
Adobe AIR 2 beta is out last night (Nov 16, 2009). It includes a number of highly expected features including launching native applications. It also improves CPU/memory usages. Some sample applications include:
http://labs.adobe.com/technologies/air2/samples/

File Tile
- FileTile
Open a document with system default application (e.g. doc by Word)
USB drive mount/unmount detection
get icons from a file
- SearchCentral
Call native applications (spotlight)
- Microphone
Record voice from local microphone directly
- KeePIPE
p2p application of file sharing in the same network
- TouchTest
Multi-touch
If your AIR application needs to do something (e.g. saving some settings) before quitting, you may listen to the Event.EXITING event, and then preventDefault(), then do something, and finally call NativeApplication.nativeApplication.exit() to quit. But, if you call NativeApplication.nativeApplication.exit() too quickly (e.g. call it right after preventDefault())), your application won’t exit. The solution is to wait some time (e.g. 100 ms) and call this function.
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init();">
<mx:Script>
<![CDATA[
private function init():void
{
NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExiting);
}
private function onExiting(e:Event):void
{
e.preventDefault();
var t:Timer = new Timer(100);
t.addEventListener(TimerEvent.TIMER, onTimer);
t.start();
}
private function onTimer(e:TimerEvent):void
{
NativeApplication.nativeApplication.exit();
}
]]>
</mx:Script>
</mx:WindowedApplication>
If you use mx:WindowedApplication, you won’t have this problem. If you use mx:Application, you may find your application is not visible after launching.
Solution: open your application description file (xxxx-app.xml) and change visible property to true.
How to get a cert in the first place:
http://www.adobe.com/devnet/air/articles/signing_air_applications_print.html
If you encounter this error when signing your AIR application, do the following:
- Download the Thawte Code Signing CA from www.thawte.com/roots
- Extract the contents and find file “Thawte Code Signing CA.cer” in folder Thawte Roots\Thawte Code Signing\Code Signing CA\
- Open “Internet Option” from control panel, click tab Content, then Certificate, then Intermediate Certification Authority. Then click on “Import certificate” button and import “Thawte Code Signing CA.cer”
- Now go back to your original p12 certificate file. Double click and import your system (be sure to enter your password). Check the option “Mark this key as exportable”
- After importing, go to Internet Options > Content > Certificates
- Select your certificate and click export
- Next
- Yes, export the private key
- Format: PKCS, (checked) Include all certificates in the… , (checked) Enable Strong protection, (unchecked) Delete the private key …
- Next
- Enter Password for the certificate
- Next enter filename and export the file
It should be good.
Reference:
http://forums.adobe.com/thread/433530
You can get all applications from Adobe Marketplace
Beautiful Design
- Employee Directory
Elegant design. This application drives me to learn AIR.
- Adobe Media Player
Elegant design
- Time 100 Desktop
Nice design. Rotating globe, rotating pictures in 3D
- Times Reader
Great text layout (how they did that?!)
- AOL Top 100 Videos
Nice design, video play
- Spreadtweet
Interesting idea: an excel interface but indeed a twitter client
- Acrobat.com for My Desktop
Beautiful design. Buzzword is simply cool!
- Finetune Desktop
Beautiful style
- Adobe Media Player
Beautiful design
- Sam’s Interactive Reader
Cool
Useful functions
- Colabolo
Issue manager. Useful functions.
- Adobe Developer Connection
Useful functions
- Icon Generator
Generate icons, Very useful
- ActionScript 3.0 Diagram Viewer
it would be nice if it could be more interactive
- Mockups For Desktop
When you use mxmlc to compile files, you might encounter this error. You need to add source-path option:
mxmlc -source-path C:/p/y/src/ -file-specs MyClass.as -debug=true
You set systemChrome=”none” but it still doesn’t work? You probably forget to set
showFlexChrome="false"