Mega Code Archive

 
Categories / Flex / Components
 

Bind Slider value to a Label

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">   <mx:Label id="sliderLabel" fontSize="18" fontWeight="bold" text="{mySlider.value}"/>   <mx:HSlider id="mySlider" width="300" minimum="0" maximum="300"     tickInterval="50" snapInterval="50" labels="{['0','50','100','150','200','250','300']}"/>    </mx:Application>