[問題] flex 用Repeater圖沒出來..
我看書造書打= = 可是圖還是沒出來..
不知道原因是什麼 還請大家幫忙 謝謝
以下是我的原始碼
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
creationComplete="galleryData.send()">
<mx:HTTPService id="galleryData" url="picture.xml"/>
<mx:Panel x="222" y="10" width="250" height="460" layout="absolute"
id="thumbsPanel" title="Thumbnails">
<mx:Tile width="210" height="400" x="10" y="10" >
<mx:Repeater dataProvider="{galleryData.lastResult.gallery.images.img}"
id="imageRepeater">
<mx:HBox width="70" height="70" verticalAlign="middle"
horizontalAlign="center">
<mx:Image width="50" height="50" verticalAlign="middle"
horizontalAlign="center" source="{imageRepeater.currentItem}"/>
</mx:HBox>
</mx:Repeater>
</mx:Tile>
</mx:Panel>
</mx:Application>
<?xml version="1.0" encoding="utf-8"?>
<gallery>
<images>
<img>assest/006094408.jpg</img>
<img>assest/1169689761.jpg</img>
<img>assest/1180703455.jpg</img>
<img>assest/1182380058.jpg</img>
<img>assest/1206626452.jpg</img>
<img>assest/2000646791177559073_rs.jpg</img>
<img>assest/2000682105283188230_rs.jpg</img>
<img>assest/2000693192237436982_rs.jpg</img>
<img>assest/2003683319613810421_rs.jpg</img>
<img>assest/2008010915381039090.jpg</img>
</images>
</gallery>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.227.196.217
→
03/06 16:22, , 1F
03/06 16:22, 1F
→
03/06 22:33, , 2F
03/06 22:33, 2F