невозможно добавить в контекстное меню пункт с именем "1". :)
1
2
3
4
5
6
7
8
9
menu = new ContextMenu();
menu.hideBuiltInItems();
onContext = function ()
{
};
menu.customItems = [];
for (var i:Number = -2; i<3; i++) {
menu.customItems.push(new ContextMenuItem(String(i), onContext, true));
}