/ Published in: ActionScript 3
Used for for blog post: http://www.brettwidmann.com/2010/07/check-for-dock-icon-or-system-tray-icon-adobe-air
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if(NativeApplication.supportsDockIcon) { //supports Dock Icons for Mac //insert logic here //examples: icon, menu options } else if(NativeApplication.supportsSystemTrayIcon) { //supports System Tray Icons for Windows //insert logic here //examples: icon, menu options }
URL: http://www.brettwidmann.com