Actionscript 3 如何通过滚动HScrollBar滚动水平平铺列表?

Actionscript 3 如何通过滚动HScrollBar滚动水平平铺列表?,actionscript-3,apache-flex,flex3,Actionscript 3,Apache Flex,Flex3,我有一个包含用户图像列表的平铺列表,还有一个HScrollBar组件。现在,如果我滚动hs滚动条,我还想滚动平铺列表。我还希望HScrollBar的拇指根据平铺列表的数据提供程序中的元素数量自动调整其宽度。我怎么做 这就是我的代码 <components:ExtendedTileList id="lstExpert" horizontalScrollBarStyleName="horizontalScroll" verticalScrollPolicy="off" horizont

我有一个包含用户图像列表的平铺列表,还有一个HScrollBar组件。现在,如果我滚动hs滚动条,
我还想滚动平铺列表
。我还希望HScrollBar的拇指根据平铺列表的数据提供程序中的元素数量自动调整其宽度。我怎么做

这就是我的代码

    <components:ExtendedTileList id="lstExpert" horizontalScrollBarStyleName="horizontalScroll" verticalScrollPolicy="off" horizontalScrollPolicy="off"
                                                         dataProvider="{expertsOnline}" height="80" width="100%" direction="vertical" maxRows="1"
                                                         itemRenderer="ExpertItemRenderer">
   </components:ExtendedTileList>
    <mx:HScrollBar id="customScrollExpert" styleName="horizontalScroll"  minScrollPosition="0"                                  lineScrollSize="20" pageScrollSize="20" y="68"
                                           scroll="hscrollbar1_scrollHandler(event)" visible="true" width="110%" height="5"/>

不要在这里写下你的愿望。。首先,让我们看看你尝试了什么。@Loxy,我已经编辑了我的问题。请看一看
protected function hscrollbar1_scrollHandler(event:ScrollEvent):void
        {

            lstExpert.horizontalScrollPosition=event.target.scrollPosition ;

        }