Is that verbatim from the renderer code or somewhere else? How does handleLabelClick get called?
I would check to see if the validation of the size causes renderers to be recycled, defeating your addChild. Normally, you need to change a property somewhere so that any renderer that is recycled in for that data item will know to have that new child. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Wednesday, June 04, 2008 8:09 AM To: [email protected] Subject: [flexcoders] Re: How to remeasure itemRenderer --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > How did you get into itemRendererToIndices? Maybe we need to see more > code. ListBase mouseClickHandler line 9019. My function looks like this: private function handleLabelClick(e:Event):void{ addChild(childObject); childObject.x=0; childObject.y=0; childObject.width = childObject.explicitWidth; childObject.height = childObject.explicitHeight; invalidateSize(); } Thanks :-) -Amy

