3 Replies Latest reply on Aug 7, 2008 12:18 PM by VarioPegged

    Add new menuitem

      how do you add menuitems to an mx.controls.Menu ....

      menume = Menu.createMenu(mycanvas,myMenu,false);
      var items:XMLList = myMenu.children();
      <mx:XML id="myMenu">
      <menuitem label="Move" />
      <menuitem label="Push" />

      I want to add new menuitems to the currently "myMenu" xml.....
      how can I do this? The intellisense doesn't give any indication on what to use and can't find on the net