I use flex4 list:
 <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>
as you can see, there is 6 element can see in the viewport.
so how can i know the current vie开发者_StackOverflow中文版wport element index?
ex:
currentViewPortIndex is : [7][8][9][10][11][12]
as far as i know , i can only know the the index that i already select by function
list.selectedIndex
did flex4 proivde some other function that i can use?
thanks.
HorizontalLayout has a firstIndexInView property.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论