Flex Gumbo中如何自定义HSlider数据Tip样式的例子

接下来的Flex Gumbo中如何通过skinClass样式,自定义HSlider数据Tip样式。


下面是main.mxml:




下面是Skin类Skins/CustomHSliderSkin.mxml的代码:








/* Define the skin elements that should not be colorized.
For slider, the skin itself is colorized but the individual parts are not. */
static private const exclusions:Array = [“track”, “thumb”];

override public function get colorizeExclusions():Array {return exclusions;}




















代码:Peter deHaan 翻译/整理/编译:中文Flex例子

Leave a Reply

Your email address will not be published. Required fields are marked *