2 Replies Latest reply on Nov 22, 2006 8:55 PM by tanmayarunnavghare

    Gallery part1

    tanmayarunnavghare
      Hi

      I want to use a repeater to repeat the images whose source is coming from a ArrayCollection. But for some reason I am not able to view the Image.When applied to Label I am able to see the repeated labels. To better understand I am here with attaching the code.

      Thanks

      <mx:Repeater id="imgrepeater" dataProvider="{mycoll}">
      <!--<mx:HBox backgroundColor="#efefef"
      paddingBottom="8" paddingTop="8"
      paddingLeft="8" paddingRight="8"
      cornerRadius="10"
      borderColor="#6f8184"
      borderStyle="solid"
      width="10%" height="20%" y="23" horizontalCenter="-97.5" horizontalAlign="center">-->
      <mx:Label text="{imgrepeater.currentItem}" color="red"/>
      <mx:Image source="{imgrepeater.currentItem}" width="100%" height="100%"
      horizontalAlign="center"/>
      <!--</mx:HBox>-->
      </mx:Repeater>