0
我用FLEX4列表:如何获得视元素索引
<component:SmoothScrollingList x="200"
y="180"
dataProvider="{myProvider}"
itemRenderer="myitemdrender.FriendPageItemRender"
id="friendPageList"
mouseDown="friendPageList_mouseDownHandler(event)">
<component:layout>
<s:HorizontalLayout requestedColumnCount="6"/>
</component:layout>
</component:SmoothScrollingList>
你可以看到,有6元可以在视窗中看到。
所以我怎么知道当前的视口元素索引?
例如:
currentViewPortIndex
是:[7][8][9][10][11][12]
据我知道,我只知道,我已经通过功能选择指数
list.selectedIndex
并FLEX4 proivde一些其他功能,我可以使用?
谢谢。
非常感谢!!!! – Eran 2009-12-07 05:48:07