ToolTip Manager

 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

 

Respond to this post