How to remove right click menu in swf (flash cs4 with script 3 action, flash 9)?

I made a swf using flash 9 player, if I right click it will show a menu like zoom in, zoom out, etc. how to remove context menu in swf.

0


a source to share


5 answers


check this post: http://blog.another-d-mention.ro/programming/right-click-and-custom-context-menu-in-flash-flex/ . If you don't want any kind of right click interaction, you can simply use this javascript to add a layer on top of your flash that catches right click events and prevents them from getting into the flash player.



+2


a source


Try this method or read this class about what else you can do with the context menu.



+1


a source


I saw ur refer url that only shows the Redraw Regions variant. You will change your embed code

0


a source


As3 (in the movie) puts this in the first frame :):

myMenu.hideBuiltInItems();
_root.menu = myMenu;

      

In html:

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

      

0


a source


<param name="MENU" value="false">

      

0


a source







All Articles