Greetings -
I'm using the localToGlobal method but getting impossible
values returned. My app is 1280 wide but converting an
object whose local x is 604 is returning a global x of 1535...??
Here's the function in question, the function is called by rolling
over buttons in an HBox:
private function showTip(text:String, offset:int, event:Object):void {
var myPoint:Point = new Point(event.currentTarget.x,
event.currentTarget.y);
myPoint = event.currentTarget.localToGlobal(myPoint);
var myTip:ToolTip = ToolTipManager.createToolTip(
text, myPoint.x+offset,
myPoint.y-32) as ToolTip;
}
Any help, much appreciated!
cheers, ethan