Hi Malavika,

Inside the itemRenderer, put this code:

var pt:Point = new Point(0,0);
this.localToGlobal(pt);

This will help you get the global x,y co-ordinates for individual
itemRenderers.

Let me know if this still doeskin solve your problem.

Regards,
Venkat
www.venkatv.com

On Tue, Sep 2, 2008 at 10:51 PM, malavika <[EMAIL PROTECTED]>wrote:

>
> Hi Everyone,
>          I have a serious problem of controlling the X and Y position
> for a ToolTip. I have a datagrid for populating the data over it. When
> the mouse is rollovered on the one of the column I'm poppingup a
> tooltip. As the mouse is moved over the text in that column the
> tooltip position is changing according to that. I could not really
> understand how to make the position stable. At the same time even i
> could not hardcode the x and y position of the tooltip.
>
> My Code :
>                                        var square:Sprite = new
> Sprite();
>                                        var positionX:Number = square.mouseX
>                                        var positionX:Number = square.mouseY
>                                       myToolTip =
> ToolTipManager.createToolTip(text,positionX,positionY) as ToolTip;
>
>
>
> Thanks,
> Malavika.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to