Hello, I use a renderer to include an image in a grid. But some of the images don't exist, and then they keep "flickering". Some stroboscopic strange effect.
Any idea how I can detect if the image could load and prevent the strange effect ? This is the code of my renderer. <?xml version="1.0"?> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" horizontalAlign="center" verticalGap="0" borderStyle="none"> <mx:Script> <![CDATA[ private function LoadImage():void { if (data != null) { ProductImage.source = ImageBaseUrl + "60/" + data.prodcode + ".jpg"; } } ]]> </mx:Script> <mx:Image id="ProductImage" height="60" render="LoadImage();" scaleContent="false"/> </mx:VBox>