Can someone give me a hint (Class to look into) or paste a URL to an
example of how to create an XML structure, using a returned ArrayCollection
of dynamic values, to use as the XML Datasource for a <mx:MenuBar>.
I create a backend system for my client to use to create views ('pages'),
but need to take the pageTitles and pageID, base on categories ('galleries'
and 'personal'), and create a drop down menu system using <mx:MenuBar>
Something like:
<menuitem label="Home"/>
<menuitem label="Galleries"> //Loop all the galleries by the returned
data <menuitem label="pageTitle" /> </menuitem>
<menuitem label="About the Artist"> //Loop all the personal pages by
the returned data <menuitem label="pageTitle" /> </menuitem>
<menuitem label="Contact"/>