RE: [flexcoders] display images in a horizontal list component
Thanks Bjorn Too easy, {data.propertyName} did the trick. I just figured it out myself. MXML is pretty straight forward after allJ. Cheers Robin From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Thursday, 21 September 2006 1:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] display images in a horizontal list component Hey Robin, i'm pretty sure you need to use an itemRenderer. like // on your view itemRenderer="com.xxx.view.ItemView" // item Renderer xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" > id = "itemBox" width="100%" height="100%" clipContent="false"> id="image" source="{ data.image }" width="75" height="70" complete="itemBox.visible = true;" /> text="{ data.name }" height="20" /> Regards, Bjorn Schultheiss From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robin Burrer Sent: Thursday, 21 September 2006 11:06 AM To: [EMAIL PROTECTED]ups.com 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 __,_._,___
[flexcoders] display images in a horizontal list component
Hey Robin, i'm pretty sure you need to use an itemRenderer. like // on your view itemRenderer="com.xxx.view.ItemView" // item Renderer xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" > id = "itemBox" width="100%" height="100%" clipContent="false"> id="image" source="{ data.image }" width="75" height="70" complete="itemBox.visible = true;" /> text="{ data.name }" height="20" /> Regards, Bjorn Schultheiss From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robin BurrerSent: Thursday, 21 September 2006 11:06 AMTo: flexcoders@yahoogroups.comSubject: [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 __,_._,___
[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 __,_._,___