Amy, I can't seem to get the iconFunction to work with the ADG. As per the docs, "This property is ignored by data grid controls."
It compiles but it IS in fact ignored. Do you use the groupIconFunction? Thanks again, Brandon ----- Original Message ---- From: Amy <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, July 22, 2008 12:40:15 PM Subject: [flexcoders] Re: referencing embedded images inside AdvancedDataGridGroupItemRenderer --- In [EMAIL PROTECTED] ups.com, Brandon Krakowsky <krakowskyb@ ...> wrote: > > Amy: > > It seems easier this way since I'm using a dataprovider which is updated often, changing the icon. Right now I'm using a switch statement which tests "value.icon" and returns the proper embedded image class name. I'm confused as to why I can't convert the String the "image1" to Class image1. Seems easy enough, but nothing works. That's what iconFunctions are for. But you could try img.source = this[value.icon] ; HTH; Amy

