Scroller.verticalScrollbar 实际上是由4部分构成,
thumb: 拖动条 (对应的类为spark.components.Button)
track: 拖动条下面的那个轨道 (对应的类为spark.components.Button)
decrementButton: 向上箭头按钮(对应的类为spark.components.Button)
incrementButton: 向下箭头按钮(对应的类为spark.components.Button)

对整个verticalScrollbar我们需要一个mxml来定义其皮肤, 里面每个部分也分别需要一个mxml来定义皮肤,那么我们一共需要5个mxml文件

假设我们现在想改变右边verticalScrollbar的样子, 并且已经准备好了所需要的图片:
up.png: 向上箭头的图片
down.png: 向下箭头的图片
thumb.png: 拖动条的图片



转载来自于:

http://www.swfdiy.com/?p=660