Components Flex


    xmlns:s="library://ns.adobe.com/flex/spark" 
    xmlns:mx="http://www.adobe.com/2006/mxml">
    
        
        import mx.controls.Alert;
        public function showMsg(msg:String):void {
            Alert.show(msg);
        }
      
    

    
        
                            text="How tall are you (cm)?" />
                                    minimum="0" 
                        maximum="300"
                        tickInterval="50" 
                        snapInterval="1"
                        labels="[0,50,100,150,200,250,300]"
                        change="showMsg(yourHeight.values.toString())" />