View Full Version : No right click menu

02-26-2007, 06:23 PM
I was wondering how some websites did it.
When You right-click on a flash doc in a website, a menu comes up saying:
About Macromedia Flash Player
Whenever I Publish a flash doc, All these Zoom In and Zoom Out tools... Plus many more. How Do I get my document to only display those two selections.

P.S. I am also runing Flash 8 Pro (The latest)

02-26-2007, 06:33 PM
Make a new context menu. Depending on your set up you may have to call it twice, or more (one for each scene/movie/load() etc.)

But basically just add this to the first frame of the first scene:

var my_cm:ContextMenu = new ContextMenu();
my_cm.builtInItems.quality = false;
my_cm.builtInItems.print = false;
my_cm.builtInItems.save = false;
my_cm.builtInItems.zoom = false;
my_cm.builtInItems.play = false;
my_cm.builtInItems.loop = false;
my_cm.builtInItems.rewind = false;
my_cm.builtInItems.forward_back = false;
my_cm.builtInItems.print = false;
this.menu = my_cm;

Change the "false" to "true" for anything you want to show.

02-26-2007, 09:47 PM
It works :-)

Thank You,

02-26-2007, 11:41 PM
Welcome. Note that in Flash you can NOT remove the "settings" or the "about" from the menu (which is why you see them in the examples in your first post :) )