Use Spinner to choose value : Spinner « Components « 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 » Components » SpinnerScreenshots 
Use Spinner to choose value
Use Spinner to choose value
  
<?xml version='1.0' encoding='UTF-8'?>
<mx:Application 
    xmlns:s="library://ns.adobe.com/flex/spark" 
    xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
        
        import mx.controls.Alert;
        public function showMsg(msg:String):void {
            Alert.show(msg);
        }
      
    </mx:Script>
    <mx:Panel title="Profile">
        <s:VGroup>
            <s:HGroup>
                <mx:Label fontWeight="bold" text="Value 2:" />
                <s:Spinner minimum="0" maximum="10" id="collegeKids" />
                <mx:Label text="{collegeKids.value} in college" />
            </s:HGroup>
        </s:VGroup>
    </mx:Panel>
</mx:Application>

   
    
  
Related examples in the same category
1.Show a Spinner control that allows wrapping back to the minimum value once the maximum value is reached.Show a Spinner control that allows wrapping back to the minimum value once the maximum value is reached.
w__ww_.j__av___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.