2 Replies Latest reply on Aug 31, 2010 8:38 AM by Blancocs

    menu problem

    Blancocs Level 1

      hi, i'm having this problem with the menu subitems.

      menuProblem.JPG

       

       

       

      here is the code i'm using

        var myMenu:Menu;
        myMenu = null;
        myMenu = Menu.createMenu(null, menuList, false);   //menulist have the structure of the xml

        var pt1:Point = new Point(this.dgMouseX, this.dgMouseY);
        pt1 = contenedor.localToGlobal(pt1);
        myMenu.show(pt1.x,pt1.y);