title: How to Get the Selected Index of RadioButtonGroup in Adobe Flex 4+?
body: <p>I know that it is possible to get the selected value on the change handler or item click handler of a radioGroupButton. Like this: </p>
  
  <pre><code>protected function rb1_itemClickHandler(event:ItemClickEvent):void
  {
      var selectedValue:String=event.currentTarget.selectedValue.toString();          
  }
  </code></pre>
  
  <p>But what I need is the index of the selected value. Any idea how to do that?</p>