|
|||
|
Hi,
I have a Flex tool (as3) that sits in the Systray - only the systray icon is visible. At several times I want the user to warn for an event, so I thought a BalloonTip would be handy. Here's an example of a baloonTip what I'm looking for: ![]() But is does not seem to work. Here's the code: FishScript: Code:
function showBalloonTip(title,tip) {
Application.SysTray.balloonTitle = title;
Application.SysTray.balloonTip = tip;
Application.SysTray.showBalloonTip();
}
Windows 7 may be the reason? Last edited by Gert; 03-31-2010 at 07:45 AM. |
|
|||
|
I found an answer to my own question:
Here's the working AS3 code: Code:
private function showBalloonTip(...args):void {
var title:String = args[0];
var tip:String = args[1];
var si:SysTray = new SysTray();
si.useDefaultHandler = false;
si.add();
si.balloonTitle = title;
si.balloonTip = tip;
si.balloonIcon = "info";
si.showBalloonTip();
si.useDefaultHandler = true;
}
|
|
|||
|
Gert, I having the same problem with me. But after reading this your post I came to know and I have solved my problem. Thats really very nice and that much useful to me.
__________________
[url=http://www.zoombits.co.uk/memory-cards/micro-m2/sony-4gb-micro-m2-memory-stick/5737]4gb micro m2[/url] |
![]() |
Was this information helpful? Yes No
| Tags |
| balloontips, systray, windows 7 |
| Thread Tools | |
| Display Modes | |
|
|