title: How to get value of selected index in combo Box when user select the value from it in flex
body: <p>Hi I have created a comboBox dynamically and Since I'm new to Flex I have no idea how to get the selected value from combo box when user select a value from combobox dropdown</p>
  
  <p>Below is my code </p>
  
  <pre><code>var comboBox:ComboBox = new ComboBox();
  comboBox.dataProvider = field.getValues();
  comboBox.width = "50";
  comboBox.prompt = "Test";
  comboBox.selectedIndex = -1;
  </code></pre>
  
  <p>Could someone help me out in order to identify how I'll be able to get value of a selected index when user will select the value from dropdown of combo box ?</p>
  
  <p>Even a sample example will help me !!</p>
  
  <p>Thanks in Advance.....!!</p>