If you have a references to the panel and the component:

var pnl:Panel;
var cmp:UIComponent;

import flash.geom.Point;

var pnt:Point = pnl.localToGlobal(new Point(cmp.x, cmp.y));

pnt.x and pnt.y will contain the global coordinates of the
UIComponent.  Is that what you're looking for?


--- In flexcoders@yahoogroups.com, Bhuvan Gupta <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> 
> How can I find the coordinates/location of a component at runtime  
> when the component is inside a container like Panel
> and has been rendered as per parent's layout.
> 
> 
> 
> Thanks
>


Reply via email to