Hey Robin,
 
i'm pretty sure you need to use an itemRenderer.
like
// on your view
itemRenderer="com.xxx.view.ItemView"
 
// item Renderer
<mx:VBox
 xmlns:mx="http://www.adobe.com/2006/mxml"
 width="100%"
 height="100%" >
       
    <mx:VBox
    id = "itemBox"
     width="100%"
     height="100%"     
  clipContent="false">
  
  <mx:Image
   id="image"
   source="{ data.image }"
   width="75"
   height="70"
   complete="itemBox.visible = true;" />
  
  <mx:Label
   text="{ data.name }"
   height="20" />
   
 </mx:VBox>
 
</mx:VBox>
 
Regards,
 
Bjorn Schultheiss


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer
Sent: Thursday, 21 September 2006 11:06 AM
To: [email protected]
Subject: [flexcoders] display images in a horizontal list component

Hi there,

How do I display images in a horizontal list component?
Each object of my data provider has a label and an image property. The image property is an absolute url to an png image.

How do I display this image in my horizontal list?

All list component examples I could find just show you how to display an embedded image using the “icon function” property.

Cheers

Robin

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to