2 Replies Latest reply on Mar 9, 2009 8:01 AM by madhooper

    tile not wraping

    madhooper Level 1
      I have a tile with a repeater but it extends my images horizontally across the screen instead of wrapping.
        • 1. Re: tile not wraping
          Level 7

          "madhooper" <webforumsuser@macromedia.com> wrote in message
          news:gorsnd$hjp$1@forums.macromedia.com...
          >I have a tile with a repeater but it extends my images horizontally across
          >the
          > screen instead of wrapping.
          >
          > <mx:Panel id="_Stack" label="Stack" width="100%" height="100%">
          > <mx:Tile autoLayout="true">
          > <mx:HBox width="100%">
          > <mx:Repeater id="SectionRepeater" dataProvider="{Sections}">
          > <mx:VBox horizontalAlign="center">
          > <mx:Image source="{minorSectionRepeater.currentItem.thumbImageURL}"
          > click="findPartsObject(event.currentTarget.getRepeaterItem(), event)"
          > rollOutEffect="{out}" rollOverEffect="{over}"/>
          > <mx:Text text="{SectionRepeater.currentItem.illustrationName}"/>
          > </mx:VBox>
          > </mx:Repeater>
          > </mx:HBox>
          > </mx:Tile>
          > </mx:Panel>

          You might want to look at Flex FlowBox.

          HTH;

          Amy


          • 2. Re: tile not wraping
            madhooper Level 1
            Thanks I figured it out but I will probably use FlowBox in the near future.