Custom image size in repeater in flex4
hi, in web connect data http service. 'm using repeater loop.. if want loop image. can't edit size image in repeater when insert image. 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 image want big size 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 result:
[img]http://ca4.upanh.com/13.306.17532288.1ew0/untitled.png[/img]
can edit size image bigger in repearter, because if edit , height image appear vscroller , don't want that,please.thanks
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment