PDA

View Full Version : Bitmap in a repeater


Franklee
11-09-2009, 12:41 AM
I have an array containing the bitmaps of various images and want to use the array as the source for an image repeater. I have been using the following but it doesn't work. What am I doing wrong?

<mx:Repeater id="rp" dataProvider="{thumbArr}" >
<mx:Image
height="40" width="60"
source= "{rp.currentItem}"
/>
</mx:Repeater>

Franklee
11-09-2009, 02:34 AM
I have got it working using an ArrayCollection instead of an array