Item click event for RadioButtonGroup : ItemClickEvent « Event « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Event » ItemClickEventScreenshots 
Item click event for RadioButtonGroup
 

<?xml version='1.0' encoding='UTF-8'?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
        import mx.controls.Alert; 
        import mx.events.ItemClickEvent;
        public function showMsg(anEvent:ItemClickEvent):void {
            Alert.show(anEvent.currentTarget.selectedValue)
        }
    </mx:Script>
    <mx:RadioButtonGroup id="Spam" itemClick="showMsg(event)" />
</mx:Application>

   
  
Related examples in the same category
w___w__w.___j_a___v___a__2___s._c___o_m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.