I have an s:ListBase that takes an ArrayCollection of data items and renders each of them using a custom ItemRenderer.
When the renderers are clicked, I can only see "click" events being dispatched but not the "change" or "changing" or "valueCommit"; the "selectedIndex" is set to and stays -1 all the time (regardless of whether you clicks on an item or not).
I notice that if I change the s:ListBase to s:List, all these events can be caught and the selection all works fine. Is there something obvious I am missing on ListBase? Or does this has to do with the ItemRenderer?
Thanks for any lead!
I assume that selection logic is in List and not ListBase. Is there a particular reason you are using ListBase instead of List?
This wasn't any particular reason that I went for ListBase except that I assumed it had the change event and the most lightweight I needed. Thanks.