[flexcoders] Re: Dimensions of a UIComponent are allways 0, 0?!

2008-10-05 Thread florian.salihovic
Sorry fpr the late reply, my Problem is in fact not implementing teh measure() method. It is more the problem how to deal with composites and detecting changes of components that are embedded in my custom component. My current strategy is dispatching an event when the displaylist of my

Re: [flexcoders] Re: Dimensions of a UIComponent are allways 0, 0?!

2008-10-05 Thread Josh McDonald
Basically, whenever something gets updated which may change the size of component X, call X.invalidateSize (usually from within X itself). -Josh On Mon, Oct 6, 2008 at 12:53 AM, florian.salihovic [EMAIL PROTECTED] wrote: Sorry fpr the late reply, my Problem is in fact not implementing teh