I have a component that dispatches an event when it is being moved.  In 
that handler I wanted to pop up a ToolTip and display the current X/Y 
coordinates.  I must be missing some of the logistics behind ToolTip 
behavior because I'm just getting the static text.

Here's the code in my handler (which I've verified via the debugger is 
being called):

private function showLocation(event:ObjectHandleEvent):void {
    event.currentTarget.toolTip = "x:" + event.currentTarget.x + " y:" 
+ event.currentTarget.y;
}

Anyone created this effect with a ToolTip?

Reply via email to