flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Medlam <philip.med...@gmail.com>
Subject Re: list of images: poor performances
Date Mon, 30 Jun 2014 14:29:59 GMT
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:

Which shows "How to use blitting to create a smooth photo scroller for the
Download files <http://gotoandlearn.com/files/tabletswipe.zip>Download video


On Mon, Jun 30, 2014 at 2:30 PM, Gabriele Campi <
gabriele.campi@medialogic.eu> 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 <aharui@adobe.com <mailto:
>> aharui@adobe.com>> 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 <gabriele.campi@medialogic.eu
>>     <mailto:gabriele.campi@medialogic.eu>> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message