Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / May 2007



Tip: Looking for answers? Try searching our database.

Right clicking - turning off zoom in_out feat.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mastacraft - 28 May 2007 15:50 GMT
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?

Regards,
David Stiller - 29 May 2007 00:40 GMT
mastacraft,

> 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?

   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."
mastacraft - 29 May 2007 08:40 GMT
thanks worked a charm!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.