hi all,
i hv a problem in custom context menu. there is a mc on root named “lbl1”. action script on the first frame of scene is:
var lblMenu:ContextMenu = new ContextMenu();
lblMenu.hideBuiltInItems();
var lblCopy = new ContextMenuItem(“Copy”, copyLbl);
lblMenu.customItems.push(lblCopy);
function copyLbl() {
trace(“copy”);
}
lbl1.menu = lblMenu;
but this is not showing the “copy” context menu item there. where is the problem? plz help.