I've recieved a feature request from my Mac users: they want application to be minimized to dashboard on red window button click and closed on system menu item click (or command+Q).
Is it possible to distinguish this events or they are identical in AIR?
I believe they are the same event. What you can do is remove the default exit menu item and replace it with your own. You can then attach a different event handler using the menu SELECT event.
I thought that default menu items are not accessible... Thanks, I'll try to modify it.
Yes, it worked. Thanks a lot!