RE: [flexcoders] Measure and UpdateDisplayList called continuously

2008-05-20 Thread Alex Harui
ECTED] On Behalf Of Giles Roadnight Sent: Tuesday, May 20, 2008 1:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Measure and UpdateDisplayList called continuously Hi All I'm writing an item renderer based on a Canvas. I have the following methods (the canvas just has a label a

[flexcoders] Measure and UpdateDisplayList called continuously

2008-05-20 Thread Giles Roadnight
Hi All I'm writing an item renderer based on a Canvas. I have the following methods (the canvas just has a label as a child) override protected function measure():void { super.measure(); var metrics:EdgeMetrics = viewMetricsAndPadding; measuredWidth = _label.width + metrics.left + m