all groups > macromedia flash sitedesign > may 2007 >
You're in the

macromedia flash sitedesign

group:

Right clicking - turning off zoom in_out feat.


Right clicking - turning off zoom in_out feat. mastacraft
5/28/2007 2:50:24 PM
macromedia flash sitedesign:
On some flash websites the zoom in out feature is turned off on the movie. How do you turn this off so right clicking doesn't allow this?

Re: Right clicking - turning off zoom in_out feat. David Stiller
5/28/2007 7:40:31 PM
mastacraft,

[quoted text, click to view]

You can either set this in the HTML that embeds your SWF (deselect
"Display menu" in the HTML tab of the Publish Settings dialog box) or use
the following three lines in frame 1:

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

.... which instantiates a new ContextMenu object, hides its items (except for
a few that must always show) and sets the main timeline's MovieClip.menu
property to that menu.


David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."

Re: Right clicking - turning off zoom in_out feat. mastacraft
5/29/2007 12:00:00 AM
AddThis Social Bookmark Button