Creating ToolTip

September 29, 2009 at 8:33 am Leave a comment

Definition:

All visual components that extend the UI component class support a tool tip

property.  When a mouse pointer hovers over the component, the string

appears in the tool tip.

Source Code:

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

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

creationComplete=”initApp()”  layout=”absolute”>

<mx:Script>
 
<![CDATA[
 
import mx.controls.TextInput;
 
public function initApp():void
 
{
  
var myTextInput:TextInput = new TextInput();
 
myTextInput.toolTip = ” This is a TextInput Control”;
  
addChild(myTextInput);
 
}
 
]]>

</mx:Script>

 

</mx:Application>

With Regards

Hemakumar.S

Entry filed under: Flex. Tags: , .

ToolTip Manager Data Binding with Components

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,601 hits

Flickr Photos

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

Join 2 other subscribers