Re: [flexcoders] Is it possible to get compontnet height is it doesnt have height=###

2008-06-25 Thread Tom Chiverton
You probably can't get the height immediately after addChild() because it hasn't been calculated yet. You could try one of the invalidateNnn() methods or getting the height using callLater() to wait a frame. -- Tom Chiverton This email

RE: [flexcoders] Is it possible to get compontnet height is it doesnt have height=###

2008-06-25 Thread Alex Harui
Read the doc on custom components. The lifecycle methods (commitProperties, measure, updateDisplayList are designed to handle this kind of problem. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Body Works Studio Sent: Wednesday, June