2 Replies Latest reply on Sep 7, 2008 3:54 PM by Chris Ellem - Sydney

    change dynamic system tray tooltip

    Chris Ellem - Sydney Level 1
      How does one change the system tray tooltip dynamically....

      I have set it programatically on startup like so

      if (NativeApplication.supportsSystemTrayIcon){
      NativeApplication.nativeApplication.autoExit = false;
      icon.contentLoaderInfo.addEventListener(Event.COMPLETE, iconLoadComplete);
      icon.load(new URLRequest("/assets/icons/sun_23x23.png"));
      var sysTrayIcon:SystemTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon;
      sysTrayIcon.tooltip = "FSI Widget";
      sysTrayIcon.addEventListener(MouseEvent.CLICK,undock);
      sysTrayIcon.menu = createIconMenu();
      }

      Thanks in advance

      Chris