creationComplete="initApp()">
import mx.core.IToolTip;
import mx.events.ToolTipEvent;
import mx.controls.TextInput;
private function initApp():void
{
myTextInput.addEventListener(ToolTipEvent.TOOL_TIP_SHOW, onToolTip);
}
private function onToolTip(event:ToolTipEvent):void
{
var toolTip:IToolTip = event.toolTip;
myLabel.text = toolTip.text;
}