# Custom right-click menu problems

**URL:** <https://forum.kirupa.com/t/custom-right-click-menu-problems/160882>\
**Category:** Uncategorized\
**Created:** [August 30, 2005, 8:06am UTC](https://forum.kirupa.com/t/custom-right-click-menu-problems/160882 "2005-08-30T08:06:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![misslight](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@misslight](https://forum.kirupa.com/u/misslight)\
**Post date:** [August 30, 2005, 8:06am UTC](https://forum.kirupa.com/t/custom-right-click-menu-problems/160882/1 "2005-08-30T08:06:45Z")

</div>

[size=1]Hi;

I am having trouble with my custom right-click menu. It has been working fine but I have added a preloader and other layers to my Flash movie. Now I don’t know what layer or Frame to put this actionscript on to make the custom menu appear.

**This is the Actionscript:**

[color=Navy] function doSomething(){}  
MENU = new ContextMenu();  
MENU.hideBuiltInItems();  
Functioned = new ContextMenuItem(“© Jeremy Saffer Photography”, doSomething);  
MENU.customItems.push(Functioned);  
\_root.menu = MENU;

```php

```

[color=Black]Can somebody let me know where to place the actionscript so it will work? I have several Layers at the beginning of my Flash movie that contains the preloader information, and the actual movie starts on frame 3.

I would appreciate any help you can give me. :beam:

~ [misslight](http://www.misslight.com)  
[/color][/color][/size]
