eduardo12fox
asked on
Adobe AIR in bar launch
Hello
I need to create a minimized apps that get there near the Windows clock in the bar, and keep monitoring the mysql database when I change a particular column in a table it rises like the gtalk warning that something has changed, aki I use AIR + AMFPHP.
I need help because they do not even know where to begin;
I need to create a minimized apps that get there near the Windows clock in the bar, and keep monitoring the mysql database when I change a particular column in a table it rises like the gtalk warning that something has changed, aki I use AIR + AMFPHP.
I need help because they do not even know where to begin;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Right check this link again
http://www.adobe.com/devnet/air/flash/quickstart/articles/stopwatch_dock_system_tray.html
This how you can create systray menu and icons
private function createIconMenu():NativeMen u{
var iconMenu:NativeMenu = new NativeMenu();
iconMenu.addItem(startComm and);
startCommand.addEventListe ner(Event. SELECT, toggleTimer);
iconMenu.addItem(pauseComm and);
pauseCommand.addEventListe ner(Event. SELECT, toggleTimer);
iconMenu.addItem(new NativeMenuItem("", true));//Separator
if(NativeApplication.suppo rtsSystemT rayIcon){
iconMenu.addItem(showComma nd);
showCommand.addEventListen er(Event.S ELECT, undock);
iconMenu.addItem(new NativeMenuItem("", true));//Separator
var exitCommand: NativeMenuItem = iconMenu.addItem(new NativeMenuItem("Exit"));
exitCommand.addEventListen er(Event.S ELECT, exit);
}
iconMenu.addItem(new NativeMenuItem("", true));//Separator
iconMenu.addSubmenu(create SourceCode Menu(), "Source code");
iconMenu.addEventListener( Event.DISP LAYING, setMenuCommandStates);
return iconMenu;
}
http://www.adobe.com/devnet/air/flash/quickstart/articles/stopwatch_dock_system_tray.html
This how you can create systray menu and icons
private function createIconMenu():NativeMen
var iconMenu:NativeMenu = new NativeMenu();
iconMenu.addItem(startComm
startCommand.addEventListe
iconMenu.addItem(pauseComm
pauseCommand.addEventListe
iconMenu.addItem(new NativeMenuItem("", true));//Separator
if(NativeApplication.suppo
iconMenu.addItem(showComma
showCommand.addEventListen
iconMenu.addItem(new NativeMenuItem("", true));//Separator
var exitCommand: NativeMenuItem = iconMenu.addItem(new NativeMenuItem("Exit"));
exitCommand.addEventListen
}
iconMenu.addItem(new NativeMenuItem("", true));//Separator
iconMenu.addSubmenu(create
iconMenu.addEventListener(
return iconMenu;
}
ASKER