# Custom Context Menus in nested movieclips

**URL:** <https://forum.kirupa.com/t/custom-context-menus-in-nested-movieclips/247902>\
**Category:** flash\
**Created:** [January 1, 2008, 1:50am UTC](https://forum.kirupa.com/t/custom-context-menus-in-nested-movieclips/247902 "2008-01-01T01:50:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anakadote](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/anakadote/32/2119_2.png) [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Post date:** [January 1, 2008, 1:50am UTC](https://forum.kirupa.com/t/custom-context-menus-in-nested-movieclips/247902/1 "2008-01-01T01:50:10Z")

</div>

The ability to add custom context menus to nested movieclip has supposedly been fixed in Flash 8, but for some reason it just isn’t working for me. Is there something that I am missing here:

```auto
for(var i=0; i<100; i++){

        var clip:MovieClip = grid_container_mc.grid_mc.attachMovie("box", "box"+i+"_mc", i);

        var seatMenu = new ContextMenu();
        seatMenu.hideBuiltInItems();

        var note = new ContextMenuItem("View Notepad", editNote);
        seatMenu.customItems.push(note);
        function editNote() {
                // do something
        }
        clip.menu = seatMenu;

}

```

Thanks in advance for any insight you can provide!
