I'm creating a custom component extending UIComponent.

Much of the component is drawn by the Drawing API during the updateDisplayList 
using 
settings calculated during the commitProperties.  Works great.

The problem arises when the end developer USING the component changes the size 
of it 
manually (example: the height and width are 150, and they create a button whose 
click 
changes the component's width to 300).

My commitProps and updateDispList are VERY conditional - only redrawing the 
elements that 
NEED to be redraws to increase performance.  

What I can't find / missed is how to know the component itself resized and to 
set a flag that 
will tell my commitProps and updateDispList to redraw everything.  What is that 
event / how 
do I tell they resized me?

Thanks!

-- TC





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to