I suggest using XML for the Menu dataProvider, since both are inherently hierarchical, plus XML gives you the e4x expression syntax for locating nodes.
The general way to modify a menu is to change the dataProvider. You can replace it completely, or use an e4x expression to find the node you want, then set its attributes as needed. This is pretty standard stuff, there should be some examples out there. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Howard Fore Sent: Friday, August 22, 2008 9:59 AM To: [email protected] Subject: Re: [flexcoders] Dynamic menu that reconfigures in realtime - ideas for approch? Look at this: http://blog.flexexamples.com/2008/03/12/using-a-combobox-to-filter-items -in-a-datagrid-in-flex/ <http://blog.flexexamples.com/2008/03/12/using-a-combobox-to-filter-item s-in-a-datagrid-in-flex/> . They're using a datagrid and not a menu, but the concepts are the same. On Fri, Aug 22, 2008 at 5:20 AM, karlkaki <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hi all, would be grateful for any ideas on how to approach the following task: I would like to have a menu with clickable links that would change according to for example which checkboxes the user has ticked. For example: The user ticks checkboxes for the year 2006 and 2007 and the vertical menu then shows the links for projects for that year. Tick off one, and the menu reconfigures with the appropriate content. Some thoughts I have is to read all project info from an xml-file into an ArrayCollection to populate the menu. The logic of displaying only part of the ArrayCollection in the menu according to user selection is what I have problems figuring out. Thanks in advance, Karl ------------------------------------ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo <http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> ! Groups Links (Yahoo! ID required) mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- Howard Fore, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> "The universe tends toward maximum irony. Don't push it." - Jeff Atwood

