Flex3Flex4的list组件设置滚动条偏移量&显示隐藏的办法

设置偏移量:

 

flex3.verticalScrollPosition = 90;

 

flex4.scroller.viewport.verticalScrollPosition = 2900.2;

 

设置显示隐藏:

 

flex4.scroller.setStyle('horizontalScrollPolicy', 'off');

flex4.scroller.setStyle('verticalScrollPolicy', 'off');

 

flex4.scroller.enabled = false;//这种是禁用

你可能感兴趣的:(list,Flex)