RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
@yahoogroups.com Subject: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer Something like: imagePath={data[DataGridListData(listData).dataField]} You'll need to add a listData getter/setter and implement IDropInListItemRenderer. Copy the listData get/set from

RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Alex Harui
PROTECTED] On Behalf Of Paul Steven Sent: Monday, September 17, 2007 10:53 PM To: flexcoders@yahoogroups.com Subject: RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer Thanks Alex I have tried what you suggested but the image is not displaying. I have added

RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Alex Harui
, September 17, 2007 11:32 PM To: flexcoders@yahoogroups.com Subject: RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer Thanks for the reply Alex. I do still have those 3 class vars but something still is not quite working. See my code listing below and you

RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
@yahoogroups.com Subject: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer In the original post, you had 3 class vars You still need those. @Embed is compile time, so you have to embed the 3 images like you had it at first, then the code I showed

RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
PROTECTED] On Behalf Of Alex Harui Sent: 18 September 2007 07:45 To: flexcoders@yahoogroups.com Subject: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer Hmm, didn't see that last time. Try this: mx:SWFLoader id=icon3 x=60 y=2 width=40

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer Hmm, didn't see that last time. Try this: mx:SWFLoader id=icon3 x=60 y=2 width=40 height=40 source={data[(DataGridListData(listData).dataField)]}/ _ From: flexcoders@yahoogroups.com [mailto

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer I also tried setting the source in the setter function as follows but still only a broken image public function set listData( value : BaseListData

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
PROTECTED] On Behalf Of Paul Steven Sent: 18 September 2007 08:49 To: flexcoders@yahoogroups.com Subject: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer I also tried setting the source in the setter function as follows but still only

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Tuesday, September 18, 2007 6:55 AM To: flexcoders@yahoogroups.com Subject: RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer If I hard code in my setter as follows

RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-17 Thread Alex Harui
Something like: imagePath={data[DataGridListData(listData).dataField]} You'll need to add a listData getter/setter and implement IDropInListItemRenderer. Copy the listData get/set from Label or TextInput From: flexcoders@yahoogroups.com [mailto:[EMAIL