Posted By

goatboy91587 on 07/10/10


Tagged

AIR


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

thastyle
donaldleegraham


Check for System Tray or Dock Icon Support in Adobe AIR


 / Published in: ActionScript 3
 

URL: http://www.brettwidmann.com

Used for for blog post: http://www.brettwidmann.com/2010/07/check-for-dock-icon-or-system-tray-icon-adobe-air

  1. if(NativeApplication.supportsDockIcon)
  2. {
  3. //supports Dock Icons for Mac
  4. //insert logic here
  5. //examples: icon, menu options
  6. }
  7. else if(NativeApplication.supportsSystemTrayIcon)
  8. {
  9. //supports System Tray Icons for Windows
  10. //insert logic here
  11. //examples: icon, menu options
  12. }

Report this snippet  

You need to login to post a comment.