Transfer http://hi.baidu.com/half_cup_coffee/blog/item/11f9c790cad3ed80a877a4b3.html
If your AIR application has a new message reminder, you may ignore the new message when you are busy browsing other Web windows.
Message notifications can be sent in two ways.
A typical method is to pop up a small Prompt window in the lower right of the window.
Another method is to flash the taskbar. This method is relatively simple, but it is also a good method.
Compared with the first type, the first type will automatically shut down after the pop-up message is displayed within a few seconds. If you are not on the computer during this time, you may miss it. In the way of flashing the taskbar, the title of the taskbar window remains highlighted so that you can understand it.
Flex's nativewindow provides the notifyuser () method to flash the taskbar title, which is easy to use.
Notifyuser (type:String):Void
This method has two optional values: critical and ionional, which are defined in the icationicationtype class.
The critical parameter continues to flash in the taskbar until you click it.
Informational will only Flash twice and stop and remain highlighted.