Try not setting the 'visible' property to true.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ezderman
Sent: Tuesday, April 29, 2008 12:33 PM
To: [email protected]
Subject: [flexcoders] Custom Tooltip flicker on Rollover

 

I am creating a custom tooltip that is a Canvas base. I am skining 
the Canvas background with a flash symbol. When I roll over the 
button the tooltip flicker like it stuck between over and out state. 
Any Help?? Here are the two functions that call the tooltip

private function createCustomTip(event:ToolTipEvent):void {
ToolTipManager.showDelay = 0;
var ctt:CanvasToolTip = new CanvasToolTip();
event.toolTip = ctt;

}


private function onToolTipShow(event:ToolTipEvent):void{
event.toolTip.visible = true;
event.toolTip.y = root.mouseY;
event.toolTip.x = root.mouseX;
event.toolTip.width = 167;
event.toolTip.height = 45;
// CanvasToolTip(event.toolTip).msg.text = "Play Now!"
}

 

Reply via email to