Flash Script – Disable the User’s Right Click Menu

By Georgina Laidlaw

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!

  • 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.



Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Instant Website Review

Use Woorank to analyze and optimize your website to improve your website to improve your ranking!

Run a review to see how your site can improve across 70+ metrics!

Get the latest in Front-end, once a week, for free.