Components Flex

    layout="vertical" >
    
        public var myMenuData:Array = [ { label:'New', children:[
                                                       {label:'File'},
                                                       {label:'Open'},
                                                       {label:'Save'}] }, 
                                         {label:'Edit', children:[
                                                       {label:'Cut'},
                                                       {label:'Paste'},
                                                       {label:'Copy'}] } ];