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: Hemakumar's Blog, SHK's Blog.
Trackback this post | Subscribe to the comments via RSS Feed