0 Replies Latest reply on Sep 14, 2010 10:43 AM by Phuong Thanh

    Custom image size in repeater in flex4

    Phuong Thanh Level 1

      hi, in my web i connect data by http service. I 'm using repeater for loop.. But if i want to loop image. I can't edit size image in repeater when i insert image. This source

      <mx:HTTPService id="tintucRequest" url="http://localhost/webtintuc/tintuc.php" showBusyCursor="true" fault="'Cannot connect Server'"/>
         
          <mx:VBox x="589.5" y="91">
              <mx:Repeater id="r" dataProvider="{tintucRequest.lastResult.tintuc.item}">   
                  <mx:HBox>

      <!--this i image i want big size but i can't-->
                      <mx:Image width="50" height="150" source="{r.currentItem.HINH}"/>
                      <mx:Label text="{r.currentItem.ND}" useHandCursor="true" buttonMode="true" mouseChildren="false" click="linkClick(event)"/>   
                  </mx:HBox>                   
              </mx:Repeater>
          </mx:VBox>

      and it result:

      [IMG]http://ca4.upanh.com/13.306.17532288.1Ew0/untitled.png[/IMG]

      Can You edit size image to bigger in repearter, because if i edit with and height image it appear Vscroller and i don't want that,please.thanks