Use dataTipFormatFunction to format the data tip text : Slider « Components « Flex
- Flex
- Components
- Slider
Use dataTipFormatFunction to format the data tip text

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
private function myDataTipFunc(val:String):String {
return "Current value: " + String(val);
}
</mx:Script>
<mx:HSlider height="80" dataTipFormatFunction="myDataTipFunc" />
</mx:Application>
Related examples in the same category