Re: [flexcoders] how can i get a columnIndex from an item in my TileList?

2008-12-04 Thread Aaron Hardy
Just a thought (though not an answer), it might be a better idea if within your custom tooltip component you evaluated the space needed by your tooltip compared to the space between your cursor and the side of the stage, then move the tooltip accordingly. That way you're taken care of regardless

[flexcoders] how can i get a columnIndex from an item in my TileList?

2008-12-03 Thread blc187
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

RE: [flexcoders] how can i get a columnIndex from an item in my TileList?

2008-12-03 Thread Alex Harui
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of blc187