I guess you could listen to the mouseUp handler and dispatch your own change event, and also call the public funtion hide(). I haven't tried it, but it should work. You could refer the mouseUpHandler code in Menu for some help.

Thanks,
Anant.

On 5/11/06, n51red <[EMAIL PROTECTED]> wrote:
Is it possible to make branch nodes behave the same as leaf nodes in
response to a mouse click, that is, close the menu and fire a change
event?

I assume such events a fired 'behind the scenes' and are canceled some
where along the hierarchy.
I'm thinking of trying expand the MenuBar class to achive this
behaviour, but is there a simpler way that I'm missing?

Any suggestions would be greatly appreciated,

N51








------------------------ Yahoo! Groups Sponsor --------------------~-->
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->

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






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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to