1 Reply Latest reply on Sep 10, 2006 8:37 AM by scsherwood

    Programmatically setting the selectedIndex in the List Component

    stephenwightman
      I'm trying to change selectedIndex programmatically in Flash 8 using a List Component to display groups of songs. I'm working on getting the prev and next buttons working, but so far nothing seems to work. I've read that using the selectedIndex property to change selection doesn't dispatch a change event... unless you do the following:
      my_list.dispatchEvent({type:"change", target:my_list});
      ...and this doesn't seems to work either.

      stephenwightman