1 Reply Latest reply on Aug 10, 2013 8:56 PM by Subeesh Arakkan

    Scrolling slow in a panel with 300 images

    Kobydo2 Level 1

      Hi,

      I am using a panel which contains about 300 images (small icons).

      I covered this panel with a scroller, and when scrolling, it's very slow.

      when there are less images (about 50), it scrolls smoothly.

      Any suggestions ?

       

        <s:Panel id="src"

                                     skinClass="SrcSkin"

                                     dragEnter="trashDragEnterHandler(event);"

                                     dragDrop="trashDragDropHandler(event);"

                                     bottom="{bottomBar.height}" width="100%" >

       

                          <s:Scroller width="100%" height="100%" id="srcScroller" >

       

                                    <s:Group width="100%" height="100%" id="aaa" verticalCenter="0">

       

                          ADDING 300 IMAGES HERE AT RUNTIME....


                                              <s:layout>

                                                        <s:TileLayout verticalGap="-50" horizontalGap="11" />

                                              </s:layout>

                                    </s:Group>

       

                          </s:Scroller>

                </s:Panel>