Thank you Mike, you helped me to solve my problem!

In the measure() method I have had this statements:

measuredWidth = measuredMinWidth = parent.width;
measuredHeight = measuredMinHeight = parent.height;

Well.. this code originally came from an example - now I realised that 
this "min" width and height cause the problem. So the call to "measure
()" isnt fired when browser was resized because the container 
was "satisfied" with a child's dimensions :-)

I dropped "mins" and now the measure() fires.

Thanks again!


--- In flexcoders@yahoogroups.com, "Michael Schmalle" 
<[EMAIL PROTECTED]> wrote:
>
> Well,
> 
> I didn't mean to send the class.
> 
> I has to be a simple problem of a parent not resizing your custom 
component
> because either it thinks it's not percentage or it is satisfied with 
what
> your custom component's measured width and height is.
> 
> If this is the case, then the parent won't call updateDisplayList() or
> measure() on your custom Canvas.
> 
> Peace, Mike

Reply via email to