2 Replies Latest reply on Feb 26, 2010 2:36 AM by Karl_Sigiscar_1971

    Abnormality while creating Context Menu

    Abdul Jaleel C

      Hi All,
                When i was working with context menus it is found that the context menus having label like "Copy" "Delete" are not been created..


      Any Idea..


        Thanks And Regards
         Abdul Jaleel C

        • 1. Re: Abnormality while creating Context Menu

          The alredy present options do not have them implemented but you can definetly add and implement them using Custom Context Menu item.

          • 2. Re: Abnormality while creating Context Menu
            Karl_Sigiscar_1971 Level 3

            If found out that some labels are simply not displayed. If you create a custom menu item with a label like "Adobe" for example, it won't appear.


            I also created this method to ease the addition of menu items:


                         private function createMenuItem(
                             enabled:Boolean = true,
                             visible:Boolean = true):void
                             var menuItem:ContextMenuItem = new ContextMenuItem(caption, separator, enabled, visible);
                             menuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, handler);