I have a problem with the following Flash AS3-code:
When I change "Delete1" to "Delete", the menu item disappears.
When I call it anything else but delete, then it reappears.
Why? It also occurs when I comment out hideBuiltInItems...
// create new context menu
var mymenu:ContextMenu = new ContextMenu();
mymenu.hideBuiltInItems(); // hide items like Zoom, Play, Loop etc
// create new menu item and add it to the right click menu
var frame2item:ContextMenuItem = new ContextMenuItem("Delete1");
frame2item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, doFrame2);
mymenu.customItems.push(frame2item);