View Single Post
  #1 (permalink)  
Old 05-22-2009, 01:03 PM
Snapz Snapz is offline
Senior Member
 
Join Date: Jan 2008
Posts: 123
Default Systray with as3

how do i create systray menu in AS3 ??


ive don this way but it isnt working

public function SAtray():void {
var stray:SysTray = new SysTray();
stray.useDefaultHandler = false;
stray.icon = Global.getAdditionalFile("icon.ico");
stray.add();
stray.setEventHandler("onRClicked", onRClicked);

};
private function onRClicked(e:MouseEvent):void {
var saMenu:Menu = new Menu();
saMenu.createPopupMenu();
saMenu.appendItem("as", "test");
}

Last edited by Snapz; 05-22-2009 at 02:23 PM.
Reply With Quote