ToolTip Manager

September 28, 2009 at 6:34 am Leave a comment

 Definition:

ToolTipManager class allows customize the tooltip functionality, such as

enabling or disabling tooltips, or setting the display delay. It contains a

reference to the current tooltip in the currentToolTip property.

To enable or  disable a tooltip,

set  theToolTipManager.enabled

or

ToolTipManager.disabled properties.

Source Code:

<?xml version=”1.0″ encoding=”utf-8″?>

<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml”

layout=”absolute”>

<mx:Script>
 
<![CDATA[
 
import mx.managers.ToolTipManager;
 
]]>

</mx:Script>

<mx:Button label=”EnableButton” click=”ToolTipManager.enabled=true”

toolTip=”Enable ToolTips” x=”209″ y=”210″/>

<mx:Button label=”DisableButton” click=”ToolTipManager.enabled=false”

toolTip=”Disable ToolTips” x=”367″ y=”210″/>

</mx:Application>

With Regards

Hemakumar.S

 

Entry filed under: Flex. Tags: , .

What is Atom/RSS? Creating ToolTip

Leave a comment

Trackback this post  |  Subscribe to the comments via RSS Feed


Welcome to Ideating

I am an open-source developer.My blog share the ideas of open-source and latest technologies evolving in this incredible world.

Categories

Blog Stats

  • 2,604 hits

Flickr Photos

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 2 other subscribers