theDeSilva.com Andrew de Silva

Removing Context Menu from Flash Player

September 2nd, 2008 · No Comments · Flash

Here’s how to show or hide the default items in the Flash Player context menu. If showMenu is set to true (the default), all context menu items appear. If showMenu is set to false, only Settings and About Adobe Flash Player items appear. Note that in actionscript 3 showMenu has been replaced by
showDefaultContextMenu

// Actionscript 2
 
stage.showMenu=false;
 
// Actionscript 3
 
stage.showDefaultContextMenu=false;
Share and Enjoy:
  • Digg
  • StumbleUpon
  • del.icio.us
  • Reddit
  • Technorati
  • Facebook
  • Google
  • LinkedIn

Tags: ····