Flex中如何利用horizontalScrollPolicy属性创建一个水平方向滚动条List的例子

接下来的例子演示了Flex中如何利用horizontalScrollPolicy属性,创建一个水平方向滚动条List。

让我们先来看一下Demo可以右键View Source或点击这里察看源代码):

下面是完整代码(或点击这里察看):




Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Donec sit amet dui nec pede aliquam auctor.
Integer vestibulum sodales dui.
Sed nonummy ligula et tortor.
Aenean varius neque vel felis.
Phasellus venenatis ipsum sit amet nisi.
Nullam vitae turpis et ipsum cursus venenatis.
Pellentesque tincidunt pede non arcu.
Aliquam ut massa quis ante dignissim egestas.
Curabitur facilisis velit sit amet metus.
Vivamus ornare massa ac massa.
Nam accumsan rutrum purus.


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

Leave a Reply

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