# Custom right click menu works but

**URL:** <https://forum.kirupa.com/t/custom-right-click-menu-works-but/310964>\
**Category:** Uncategorized\
**Created:** [June 24, 2010, 4:43am UTC](https://forum.kirupa.com/t/custom-right-click-menu-works-but/310964 "2010-06-24T04:43:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SupehManz](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@SupehManz](https://forum.kirupa.com/u/SupehManz)\
**Post date:** [June 24, 2010, 4:43am UTC](https://forum.kirupa.com/t/custom-right-click-menu-works-but/310964/1 "2010-06-24T04:43:21Z")

</div>

When I click simulate download my custom right click menu only appears once the movie has loaded. I have a layer called “actions” that contains this code:

```auto
var myMenu:ContextMenu = new ContextMenu();
myMenu.hideBuiltInItems();
this.contextMenu = myMenu;

```

How can I make it so that my custom menu works while it’s preloading?
