Jump to content

Disabling Flash Right Click Menu Through Javascript

Recommended Posts

hello there,i have a flash swf file with custom right click menu. file is embedded in html via javascript using swfobject.embedSWF() swfobject.embedSWF("gallery.swf", "GalleryDiv", "100%", "100%", "9.0.0", false, flashvars, params, attributes);i want to disable right click menu so that custom menu couldn't apear. can anyone help me. javascript code for this case is <script type="text/javascript"> var flashvars = {}; var params = {}; params.scale = "noscale"; params.salign = "tl"; params.wmode = "transparent"; params.allowfullscreen = "true"; params.menu="false"; var attributes = {}; swfobject.embedSWF("gallery.swf", "GalleryDiv", "100%", "100%", "9.0.0", false, flashvars, params, attributes); </script>thanks in advance

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...