Internet Cross Logo
Internet Cross your one stop web tutorial website

Disabling Context menu in flash

by Anand

The context menu is the menu seen in the Flash player when you right click in the movie.

Add this script in the frame:

var myCustomMenu:ContextMenu = new ContextMenu();
myCustomMenu.hideBuiltInItems();
this.menu = myCustomMenu;

This will hide all the context menu except for the setting and debugger.

In the next article I will show you how to add your own custom items in the context menu


[Download File][Page 1]
Visit our forums to discuss / post your problems.