Flash Script – Disable the User’s Right Click Menu

By Georgina Laidlaw
We teamed up with SiteGround
To bring you the latest from the web and tried-and-true hosting, recommended for designers and developers. SitePoint Readers Get Up To 65% OFF Now

The menu of a flash movie can be disabled using the menu attribute, and setting it to false like so:

<EMBED src=transparent.swf type="text/html;  
charset=iso-8859-1" quality="high" menu=false  
bgcolor=#000000 WIDTH=120 HEIGHT=30>

To activate the menu again, set the attribute menu=true. Simple!

We teamed up with SiteGround
To bring you the latest from the web and tried-and-true hosting, recommended for designers and developers. SitePoint Readers Get Up To 65% OFF Now
  • This does not remove the menu. It just disables some of the features of the right click menu.