Alex, thanks so much! Can you tell me a bit more? I have looked 
through the debugger and seen the listItems but I cannot seem to 
figure out how to get reference to that list during runtime...

Is this what "subclassing" will do for me? How can I do that?

Thanks again for at least letting me know it's even POSSIBLE though.


--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You'll have to subclass and then snoop through the listItems array
> 
>  
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Matt Maher
> Sent: Wednesday, June 06, 2007 4:20 PM
> To: [email protected]
> Subject: [flexcoders] coordiates of items in a datagrid
> 
>  
> 
> I have a datagrid and want the user to be able to draw a "selection 
> box" over the elements in it... 
> 
> When the user lets go of the mouse button I want to look through 
the 
> items of the grid to ask each if they fall within the coordinates 
of 
> the box.
> 
> This sounds so simple and I've gotten to the last step in the 
process, 
> but I cannot seem to find any way to determine the coordinates of 
the 
> elements in the datagrid which are currently displayed. There just 
must 
> be something...
> 
> Any help at all on this matter would be so greatly appreciated. I 
am 
> pulling my (already gone) hair out over this one.
> 
> Thanks
>


Reply via email to