Use SWFLoader instead of BitmapImage and see whether it works

Sent from my iPhone

On Jun 8, 2012, at 11:21 AM, "markflex2007" <markflex2...@yahoo.com> wrote:

> Hi,
> 
> I am doing a flex mobile project project. 
> 
> I want to show a image list with the code , why I can not show the images in 
> the list. I am sure the data is right.
> Please help me. i am not familiar how to use IconItemRenderer to show image.
> 
> <s:List id="itemList" width="100%" top="10" bottom="10" 
> dataProvider="{PictureAC}"    
> borderVisible="false" horizontalScrollPolicy="on" verticalScrollPolicy ="off" 
> layout="{horizontalLayout}" >
> <s:itemRenderer>
> <fx:Component>
> <s:IconItemRenderer > 
> <s:iconPlaceholder>
> <s:BitmapImage source="http://192.168.10.2/images/{data.pic} " width="200" />
> </s:iconPlaceholder>  
> </s:IconItemRenderer> 
> </fx:Component>
> </s:itemRenderer>
> </s:List>
> 
> Thanks
> 
> Mark
> 
> 

Reply via email to