tags:

views:

30

answers:

1

Is there a way to make the taskbar item flash in an AIR app? like it does in other applications to alert the user of a change.

Thanks!!

+2  A: 

You need to call:

stage.nativeWindow.notifyUser(NotificationType.CRITICAL);

Just to put some more info, the notification types that can be used here are:

  • NotificationType.CRITICAL: the window icon flashes until the user brings the window to the foreground.

  • NotificationType.INFORMATIONAL: the window icon highlights by changing color.

There's an article on livedocs about using Taskbar here

Robert Bak