Thanks Alex, that's what I ended up doing.
I was hoping there was a quick columnIndex just to see if it was the 
last in the row without having to calculate positions.



--- In [email protected], Alex Harui <[EMAIL PROTECTED]> wrote:
>
> Then you don't want the index, you just want to know position.  
Using localToGlobal and globalToLocal will help you compute where the 
renderer is relative to the TileLIst.  You may also need to factor in 
viewmetrics.
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] 
On Behalf Of blc187
> Sent: Wednesday, December 03, 2008 10:21 AM
> To: [email protected]
> Subject: [flexcoders] how can i get a columnIndex from an item in my 
TileList?
> 
> 
> I have a TileList that displays images.
> I'd like to be able to mouseover one of the images and get the index
> of the column it's in.
> Is there any way to get a row or column index on MouseOver?
> 
> For context, I am displaying a custom tooltip on mouseover and I'd
> like to be able to tell if I'm mousing over the last image in the 
row
> so that I can prevent my tooltip from displaying offscreen.
>



Reply via email to