If you have read my previous post AIR Notifier, it describes a simple technique to display new window in AIR. While it is very easy to create new window using the technique described in above article, it certainly not the right choice for creating new windows. Applications which may want to have a centralised control over popup creation, customization of popup windows – will soon find it difficult to implement it. Well offcourse, the post just describes a technique for displaying new window, I thought of encapsulating the functionality and developing a convenient library API.
Well I have started working on same and soon will be releasing the library as opensource. Meanwhile, here is the list of features planned for libary.
Simple to code and requires minimum one line of code to create window.
Options to customize appearance.
– Display close, minimize, maximize, resizable
– Use standard or transparent interface.
Option to specify location of window.
– Set location of window after creation
Unique id reference to manage window behavior.
– Activate/Deactivate focus of window.
– Dynamically minimize, close, maximize window.
Option to close all open windows.
Auto exit of all open windows on main application exit.
Watch this space for release of library.
Finally I am releasing version 1 of the libray and you can download it here. To see it actually working, you can download AIR source file by clicking here. (Note that the example just contain source files, you must create new AIR project and copy source & library files. To download source code of the library click here.)