4 Replies Latest reply on Nov 17, 2009 3:32 AM by radikalFish

    s:List selectedIndex -2




      since nightly build (i think) i ecountered a very strange behavior with the selectedIndex of the spark list component after a "change" event.

      Every second interaction (Mouse click) it gives the right selectedIndex but  immediately followed by selectedIndex= -2 (the event handler is called twice with only one interaction).


      This only happens when i have a custom itemRenderer witch animates the labelElement (Move3D effect on z in my case).

      There's no code of me in the itemRenderer which manipulates the list component in any way.


      I attached the example files.


      I can not imagine why selectedIndex returns -2


      Please take a look