Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-31-2010, 07:32 AM
Member
 
Join Date: Apr 2005
Location: Antwerp, Belgium
Posts: 40
Default BalloonTips in Windows 7

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();
}
Also, I would prefer to use the AS3 objects (not using any fishscript) but I could not find any info on that about using the Systray.

Windows 7 may be the reason?

Last edited by Gert; 03-31-2010 at 07:45 AM.
Reply With Quote
  #2 (permalink)  
Old 03-31-2010, 08:52 AM
Member
 
Join Date: Apr 2005
Location: Antwerp, Belgium
Posts: 40
Default

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;
}
Reply With Quote
  #3 (permalink)  
Old 07-21-2010, 09:54 AM
Junior Member
 
Join Date: Jul 2010
Posts: 2
Default

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]
Reply With Quote
Reply

Was this information helpful?    Yes No



Tags
balloontips, systray, windows 7

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 06:09 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.