Link to home
Start Free TrialLog in
Avatar of eduardo12fox
eduardo12foxFlag for Brazil

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;
ASKER CERTIFIED SOLUTION
Avatar of dgofman
dgofman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eduardo12fox

ASKER

Jeffryhouser This site helped me a lot, now I need to know how to open window on the Windows clock and not in the middle of the computer screen
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():NativeMenu{
    var iconMenu:NativeMenu = new NativeMenu();
    iconMenu.addItem(startCommand);
    startCommand.addEventListener(Event.SELECT, toggleTimer);
    iconMenu.addItem(pauseCommand);
    pauseCommand.addEventListener(Event.SELECT, toggleTimer);
    iconMenu.addItem(new NativeMenuItem("", true));//Separator
    if(NativeApplication.supportsSystemTrayIcon){
        iconMenu.addItem(showCommand);
        showCommand.addEventListener(Event.SELECT, undock);
        iconMenu.addItem(new NativeMenuItem("", true));//Separator
        var exitCommand: NativeMenuItem = iconMenu.addItem(new NativeMenuItem("Exit"));
        exitCommand.addEventListener(Event.SELECT, exit);
    }
    iconMenu.addItem(new NativeMenuItem("", true));//Separator
    iconMenu.addSubmenu(createSourceCodeMenu(), "Source code");
    iconMenu.addEventListener(Event.DISPLAYING, setMenuCommandStates);
    return iconMenu;
}