You can check this link.

http://nsdevaraj.wordpress.com/2009/03/05/convert-data-types-arraycollection-xml-object-string/

Regards

On Sun, Jan 3, 2010 at 7:26 PM, Wally Kolcz <[email protected]> wrote:

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

Reply via email to