This content has been marked as final. Show 5 replies
Could you try the full name:
instead of air.NativeWindow
to see if it works?
I have tried that as well, I actually tried that before using the air aliases, but no luck..
You need to access the window with
So it should be:
Thanks, that worked for windows. But now I need something to work on mac. I still can't access the air objects for air.DockIcon.bounce('critical') or window.runtime.flash.desktop.DockIcon.bounce('critical'). Are there any other alternate ways to access this?
There is a call to tell you if the notification is supported:
You should check this one to find out if the feature is supported in the platform.