Flex TileList control, image loading issue
Posted
by ckenan
on Stack Overflow
See other posts from Stack Overflow
or by ckenan
Published on 2009-11-18T23:35:10Z
Indexed on
2010/06/01
5:03 UTC
Read the original article
Hit count: 409
I have a flex 3 TileList in wich a load several image (employee's headshot pictures).
The image I'm loading in the TileList are stored in a DataBase (I use the ByteArray class and a Base 64 encoding to store the images in the DB).
When I load the images in the TileList from the DB, there is no problem they are displayed correctly, but when I scroll down in the TileList and scroll up again, the position of the images is changing, so for example the image in first position can be now in the 3rd and so on ....
Does somebody knows how to fix that ?
Thanks in advance!
PS : Here is the code of the ItemRenderer for the TileList
private function init():void { img.load(data.imageData); }
]]>
© Stack Overflow or respective owner