设置HSlider控件提示点的长度。
HSlider控件的tickLength样式学习.
示例: 代码:
示例: 代码:
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2008/06/04/setting-the-tick-length-on-a-slider-control-in-flex/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white">
<mx:HSlider id="slider"
minimum="0"
maximum="10"
value="3"
liveDragging="true"
tickLength="{slider.value}"
tickInterval="1" />
</mx:Application>
<!-- http://blog.flexexamples.com/2008/06/04/setting-the-tick-length-on-a-slider-control-in-flex/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white">
<mx:HSlider id="slider"
minimum="0"
maximum="10"
value="3"
liveDragging="true"
tickLength="{slider.value}"
tickInterval="1" />
</mx:Application>