views:

2006

answers:

1

I have a flex TileList to which I load a bunch of images.

When the tile list is scrolled up and down, it does fresh requests for all the images even though they were loaded previously.

Is there a way to stop this behavior and let the TileList control keep its previously loaded images?

Thanks in advance!

+6  A: 

Flex does not provide you with native caching of images. It loads them afresh. You will have to write your own cache (a linked list of images). Two references you should look at with sample implementation for image caching:

dirkgently
Thanks! super image seems to be the solution!
Chands
+1 for ImageCache, looked like our app had a visit from the performance fairy.
TWith2Sugars