title: Flex 3 - how to select an item in the list as default?
body: <p>how to select an item in the list as default  </p>
  
  <p>default selected item say of index 0  </p>
  
  <p>I tried stuff like this --  </p>
  
  <p>listid.selectedIndex = somevalueinmyprogram - 1; // 0</p>
  
  <p>but when i debug this i get<br>
  _selectedIndex = 0
  selectedIndex = -1  </p>
  
  <p>and default value is not selected why so?
  [i have already checked for the obvious that somevaluefrommyprogram is not equal to 0]</p>
  
  <p>Help!</p>