1 Reply Latest reply on May 4, 2006 11:32 PM by OniLink

    Strange Combobox selectIndex issue

    OniLink Level 1
      Hi,

      I can't explain why the following code produces these results:

      trace(month_cbx.selectedIndex) // equals 4
      month_cbx.selectedIndex = month_cbx.selectedIndex-1;
      trace(month_cbx.selectedIndex); // STILL EQUALS 4!?

      Can anyone tell me why this is happening?
      Thanks for any help,
      ~Oni.