itemClick event for group tells which button was selected
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> import mx.controls.Alert; import mx.events.ItemClickEvent; private function handleCard(event:ItemClickEvent):void { if (event.currentTarget.selectedValue == "AmEx") { Alert.show("American Express") } else { if (event.currentTarget.selectedValue == "MC") { Alert.show("Master Card") } else { Alert.show("Visa") } } } </mx:Script> <mx:RadioButtonGroup id="cardtype" itemClick="handleCard(event);" /> <mx:RadioButton groupName="cardtype" id="americanExpress" value="AmEx" label="American Express" width="150" /> <mx:RadioButton groupName="cardtype" id="masterCard" value="MC" label="MasterCard" width="150" /> <mx:RadioButton groupName="cardtype" id="visa" value="Visa" label="Visa" width="150" /> </mx:Application>