Thanks Manish. I thought that was the case but i just needed 
confirmation.

One follow up question. I'm trying to reposition the image to the 
centre of the datagrid column using the following code in my 
imagecellrenderer

function size(Void) : Void
{
  //image is id of my mx:Image
  image.setSize(20, layoutHeight);
  image._x = (layoutWidth-20)/2;
  image._y = (layoutHeight-16)/2;
}

this isn't working. 
Any ideas?

TIA
bod (bhaq1972)



--- In flexcoders@yahoogroups.com, Manish Jethani 
<[EMAIL PROTECTED]> wrote:
> On 6/22/05, bhaq1972 <[EMAIL PROTECTED]> wrote:
> 
> > function setValue(str:String, item:Object, sel:Boolean) : Void {
> >    image.source = item["image"];
> > }
> > 
> > Does the image keep getting reloaded everytime 'image.source' is 
being
> > set?
> 
> Not everytime but only when it's changed.  You could add trace
> statements to see how often it's getting called with different values
> (also monitor memory usage).




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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to