XMLListCollection component sourcing XML : XMLListCollection « Data Model « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Data Model » XMLListCollectionScreenshots 
XMLListCollection component sourcing XML
 
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="vertical">
    <mx:XML id="config">
        <configData>
            <appData>
                <appName name="My Application" />
            </appData>
            <menuData>
                <menuitem label="File">
                    <submenu label="New" />
                    <submenu label="Open" />
                </menuitem>
            </menuData>
        </configData>
    </mx:XML>
    <mx:XMLListCollection id="myMenuData" source="{config.menuData.menuitem}" />
</mx:Application>

   
  
Related examples in the same category
1.Stock data wrapped in XML and referenced by XMLListCollectionStock data wrapped in XML and referenced by XMLListCollection
2.Feeding the Tree XML dataFeeding the Tree XML data
ww_w__._j___a___va___2___s__.___c___o__m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.