Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

refresh image in itemrenderer

$
0
0
Hello,

I'm populating my tilelist with an itemrenderer. In this itemrenderer I'm having an image and textbox. The textbox is bindable, but my image isn't, because it's getting his source using the image.load method. Is there any way I can refresh my image when the datasource of the tilelist changes? (the textfield changes properly).
Here's some examplecode.

private function init():void {
base64Dec = new Base64Decoder();
base64Dec.decode(data.comiccover); //used to decode the incoming url
byteArr = base64Dec.toByteArray();
img.load(byteArr);
}

<mx:Image width="100" id="img" />
<mx:Text text="{data.title}" id="txtTitle" />


Viewing all articles
Browse latest Browse all 58696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>