Introducing Adobe AIR AIR application files are essentially “static” web application files packaged up for distribution. An end user installs the AIR runtime, just like the Flash runtime, and can then open up .air files containing HTML pages, CSS sheets and other resources. However, AIR applications are effectively “installed” to the end user's computer – Adobe AIR provides a standard installation dialog, and HTML resources inside an .air application file are then extracted to a folder on the user's computer (e.g. %PROGRAMFILES%\MyAIRApp under Windows). As developers, we then build web application using JavaScript on steroids – AIR runs a Webkit-based browser with excellent support for XHTML, CSS and JavaScript, and provides various operating system APIs through JavaScript. For example, AIR developers can use JavaScript to create native menus and system tray / dock icons.
While creating widgets the application should not appear on taskbar. But with AIR there is no such option to get rid of the application from taskbar. I was searching the internet and I could find for Flex + AIR, but I could not find for Flash + AIR.
Now simply go through File>Import>Import to Stage and select the close button file. This should directly import your file as a bitmap. Once you have it on the stage, go through Modify>Convert to Bitmap and convert it to a MovieClip symbol, name it Close Button. The registration point doesn't matter here.
The main factor to consider when building menus at this level is the location of the menu that you???ll create. Options include the window menu, which is available at the top of the window in a Windows application, and the application menu, which sits at the top of the screen in most OS X applications. We can also use the same native menu system to create context menus, menus for dock icons (OS X), and menus for system tray icons (Windows). Luckily, regardless of the type of menu we want to build on, the syntax is the same, thanks to JavaScript???s object oriented nature. In Aptana, open the menus.js file and add the following code: