Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-22-2009, 02:03 PM
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 03:23 PM.
Reply With Quote
  #2 (permalink)  
Old 05-26-2009, 01:51 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default

In the "onRClicked" method, you must show the menu by using the "show" method.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:43 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.