On 4/1/06, Jason Hawryluk <[EMAIL PROTECTED]> wrote:

> Would  this not be wasting resources compared to adding the menu as a child 
> at creation  time?

I was just commenting on the specific example of increasing and
decreasing the height in order to have the component redraw itself. 
invalidateDisplayList() is the right way to do it.

Coming to the original problem - why not use PopUpMenuButton instead
of PopUpButton?  PopUpMenuButton is meant for menus and takes care of
these issues.

Manish


--
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