Flash Script – Disable the User’s Right Click Menu

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!

Free book: Jump Start HTML5 Basics

Grab a free copy of one our latest ebooks! Packed with hints and tips on HTML5's most powerful new features.

  • http://twitter.com/ibnYusrat Muhammad bin Yusrat

    This does not remove the menu. It just disables some of the features of the right click menu.