The following example shows how you can add Custom Animation and effects when displaying a tool tip in flex <? XML version = "1.0" encoding = "UTF-8" ?>
<! -- Http://blog.flexexamples.com/2007/09/04/adding-animations-and-effects-to-flex-tool-tips/ -->
< MX: Application Xmlns: MX = "Http://www.adobe.com/2006/mxml"
Layout = "Vertical"
Verticalalign = "Middle"
Backgroundcolor = "White"
Creationcomplete = "Init ()" >
mx: script >
Import MX. Managers. tooltipmanager;
private function Init (): void {
tooltipmanager. hidedelay= 2000;
tooltipmanager. showeffect = rotate;
tooltipmanager. hideeffect = zoom;
}< br> ]>
mx: script >
<MX: Style>
@ Font-face {
SRC: URL ("./fonts/Arial. TTF ");
Fontfamily: "arialembedded ";
}
Tooltip {
Fontfamily: arialembedded;
}
</MX: Style>
mx: rotate id =" Rotate " />
mx: Zoom id =" zoom " />
<MX: buttonLabel= "Roll over me to see tool tip"
Tooltip= "The quick brown fox" />
</MX: Application>
From: http://www.cnblogs.com/taobataoma/archive/2008/01/13/1037095.html