I have a List with his ItemRenderer, all right, when I send the data to dataprovider, this enter in the function 'set data' (override), I have there two images and one label, when the data is sent then I check if the image have the source that will set, if this item has that source, then I don't set the source for avoid a blink effect, but it is not working, why? in the condition I check the source of image and this is null.
Source:
override public function set data( _data:Object ) : void {
if (imgStatusMessage.source != _data.source) {
imgStatusMessage.source = _data.source;
}
}
...
<s:Image id="imgStatusMessage" width="15" height="15" visible="false"/>
Then, when item is 'repaint' check property of this element, if have the same value of _data var, then don't set the value again.
EDIT: if more data is sent, all item work good, except first item; only the first item have this problem of blink in one of the images.