I haven't been following this thread in deatil, but just saw this and thought that Blitting might be of some interest to you?
A good reference is at: http://www.gotoandlearn.com/play.php?id=143 Which shows "How to use blitting to create a smooth photo scroller for the iPad". Download files <http://gotoandlearn.com/files/tabletswipe.zip>Download video <http://adobe.edgeboss.net/download/adobe/adobetv/gotoandlearn/tabletswipe.mp4> Phil. On Mon, Jun 30, 2014 at 2:30 PM, Gabriele Campi < [email protected]> wrote: > Nothing seems to work... performances are even worse with a timer or delay > I cannot cache all the images because of memory consumption > > Il 28/06/14 10:44, Javier Guerrero García ha scritto: > >> Also adjust the opaqueBackground, don't set the image sources inmediately >> but after a short timeout (so if you scroll down fast skipping lets say 50 >> images you DON'T load 50 images before loading the 51st), and use a >> contentCache loader with queueing (http://corlan.org/2011/08/16/ >> flex-mobile-development-caching-images-using-contentcache/) >> >> P.S. you can use the ContentCache straight from MXML, not like the >> sources in the link. Just declare it, set an ID and the rest of the >> parameters, and set contentCache="{id}" in your itemRenderer. >> >> >> On Sat, Jun 28, 2014 at 6:58 AM, Alex Harui <[email protected] <mailto: >> [email protected]>> wrote: >> >> Make sure you are using a bitmap cache and that the images are not >> being scaled down on the device. >> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone. >> >> Gabriele Campi <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> Hi, >> in a mobile app I need to display a list of 200 images. On the list I >> use a tileLayout with virtualLayout=true and a custom itemRenderer >> that >> only contains a Spark Image. On the set value method of the >> itemrenderer >> I change the source of the image with the path to the new bitmap. >> It works, but performances are poor and the list doesn't scroll >> well. On >> iPad it's almost acceptable, but on Android I have to scroll row >> by row >> and wait until every image of the row is loaded. >> Any suggestions to improve the situation? >> Thanks >> >> Gabriele >> >> >> > -- Philip Medlam
