Don't you need to include:
in the item renderer?
Forget that you have done
Message was edited by: flexillu10
Are you getting an error?
No I don't get any error, I just don't manage to make my borderContainer resizing automatically to the size of the mx:image.
Actually, I am using a dataprovider to feed my thumbnail List, so I am passing to each item rendererd by this itemRenderer an image url, loaded in the mx:image...
And there is my problem, I would like my borderContainer to fit the image content (like a width="auto" and height="auto" which doesn't exist)
Note : my image content is autoscaled so that it take all the surface of the tile in the list, proportionnaly thanks to the maintainAspectRatio property combined with the width / height = 100% property..
The problem is that all my thumbnails must automatically be resized at runtime because the List's columnWidth is variable and controlled by a HSlider...
That's why I would like to know if there is a native and simple solution...