I have not done this recently that I can recall, but here are some suggestions.
* If your data Provider is a collection, you can use getRepeaterItem() with collection.getItemIndex() * Look at the repeaterIndex and instanceIndex properties of UIComponent. Remember the click handler event object provides the target and currentTarget properties to reference the repeated UIObject * Use a custom component to repeat and set an index property on it using repeater.currentIndex Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of droponrcll Sent: Wednesday, October 03, 2007 3:52 PM To: [email protected] Subject: [flexcoders] Getting Index of item clicked in repeater Say I have a repeater that essentially scatters instances of a custom component all over the screen. When a user clicks one of the instances, I don't really care what data is displayed in the component. What I need to know is what was the index of the one that was clicked within the component. I have found lots of examples that refer to event.target.getRepeaterItem(), but none that allow me to find out where in the repeater collection that item was found. I'm sure this is fairly simple, but I haven't been able to tease the answer out of the docks. Thanks.

