# Custom context menu help

**URL:** https://forum.kirupa.com/t/custom-context-menu-help/213013
**Category:** flash
**Created:** [January 16, 2007, 11:40am UTC](https://forum.kirupa.com/t/custom-context-menu-help/213013 "2007-01-16T11:40:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gkp\_gaurav1](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)
#### Post date: [January 16, 2007, 11:40am UTC](https://forum.kirupa.com/t/custom-context-menu-help/213013/1 "2007-01-16T11:40:27Z")

</div>

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.
