[flexcoders] Adding event listeners to the horizontalList items

2009-07-27 Thread veena_kris2003
I added event listeners to each item, I added the items at runtime to a horizontalList. But not sure how to invoke the listener when the individual item is clicked. I can't define clickFunc because my dataProvider looks like this: mx:dataProvider mx:ArrayCollection/ /mx:dataProvider Thanks,

[flexcoders] adding event listeners

2009-07-27 Thread veena pandit
I added an event listener to each button. Added the buttons to the HorizontalList. WHen I click on a button, I want the event listener to be called. It is not getting called. How do I do this?