0 Replies Latest reply on Jan 6, 2009 11:54 AM by Jihaes

    Customizing Context menu

    Jihaes
      Hi,
      I wanted to add few of my own contextmenu items but how can I add items that have checkmarks next to them?
      I have something like this.. and I want to be able to run different event depending if the user selected the item or unselected the item (unchecked. Like in the play/loop items)

      var item:ContextMenuItem = new ContextMenuItem("Edit");
      menu.customItems.push(item);
      item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, someHander);

      I'd appreciate your help