views:

429

answers:

1

I made one small application using flex . it is working correctly but i want that application icon show on system tray .how wiill i do for that ?

i used

 if (NativeApplication.supportsSystemTrayIcon) {
            NativeApplication.nativeApplication.autoExit = false;
            icon.contentLoaderInfo.addEventListener(Event.COMPLETE, iconLoadComplete);
            icon.load(new URLRequest("icons/AIRApp_16.png"));

            var systray:SystemTrayIcon = 
                NativeApplication.nativeApplication.icon as SystemTrayIcon;
            systray.tooltip = "AIR application";
            systray.menu = iconMenu;
        }

this functions but not use .. so could u refer any another example ?

+1  A: 

Google throws up a lot of results. Here is one such.

dirkgently