Check this out: http://www.quietlyscheming.com/blog/2007/01/29/new-flex-componentsample- superimage/
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of sergio_trejo_r Sent: Wednesday, May 09, 2007 2:35 PM To: [email protected] Subject: [flexcoders] Sharing an Image instance in multiple datagrid item renderers. Is it possible in Flex to load an Image from a URL once and display it in multiple datagrid item renderers without reloading the image? I have the following scenario: + In a datagrid control we display images for certain items. + In the datagrid item renderer we use an Image control. + If the item shows an image we set the Image.source to the URL where the image is located. All of the items in the grid display the same image. Therefore the image is loaded from the network as many times as item renderers are there that need it. The optimization that I'm persuing is to load the image only once and reuse it in all the item renderers that need it. I'm expecting that this should improve the performance of our grid implementation. Thanks, -Sergio

