Scrolling slow in a panel with 300 images


hi,

i using panel contains 300 images (small icons).

i covered panel scroller, , when scrolling, it's slow.

when there less images (about 50), 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 @ runtime....


                                        <s:layout>

                                                  <s:tilelayout verticalgap="-50" horizontalgap="11" />

                                        </s:layout>

                              </s:group>

 

                    </s:scroller>

          </s:panel>

try using list itemrenderer image. scrolling performance imporve list recycles renderers.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Adobe Acrobat Pro , Terminal Server Use

Thread: transmission-daemon isn't playing nice: "409: Conflict"

Thread: gpg: Conflicting Commands