If the user uploads an image, save the url to that image in the dataProvider in an appropriate property, say "imageUrl". In the uploaded image item renderer, if the imageUrl property length is greater than zero, load the image and display it. If the image url is empty string, then use viewstack or state to display the "blank".
In item renderers, you typically store necessary data in instance variable values in the set data() override. Then you call invalidateProperties(). Then, in the commitProperties() method, you use the stored values to update the ui of the renderer. This mechanism allows the framework to optimize the UI work. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Cougarman Sent: Tuesday, October 21, 2008 5:23 PM To: [email protected] Subject: Re: [flexcoders] Reference a control in one itemRenderer from another itemRenderer Hi, Tracy. Good point: I have a column in a datagrid that will be blank if the user hasn't yet uploaded an image for that record. If s/he uploads an image, I need to update that column to show the image. I've got this working within the same itemRenderer and just for the sake of making it look nicer, wanted to have the image in a separate column. An image column requires an itemRenderer. Any thoughts? Thanks. Alex ----- Original Message ---- From: Tracy Spratt <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, October 21, 2008 5:19:18 PM Subject: RE: [flexcoders] Reference a control in one itemRenderer from another itemRenderer This is almost never possible or useful. The question indicates that you do not fully grok the mechanics of item renderer behavior. In nearly all cases, you should operate through the dataProvider. Take a step back and tell us what you are trying to achieve. Tracy ________________________________ From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf Of oneworld95 Sent: Tuesday, October 21, 2008 4:23 PM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] Reference a control in one itemRenderer from another itemRenderer Hi. I'm trying to figure out how to reference an Image control in one itemRenderer from another itemRenderer. Thanks.

