CodeCanyon

Mouse Lock & Disable the Context Menu Entirely!

7339 posts
  • Attended a Community Meetup
  • Community Moderator
  • Has been a member for 5-6 years
  • United Kingdom
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
  • Contributed a Blog Post
  • Beta Tester
  • Bought between 50 and 99 items
+4 more
MSFX moderator says
1663 posts
  • Sold between 50 000 and 100 000 dollars
  • Author had a Free File of the Month
  • Bought between 1 and 9 items
  • Exclusive Author
  • Europe
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
Tean says

Cool! :P

270 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
magickaito says

It will be completely evil if there is a way to replace the flash right click menu to a html (view source..) style right click menu…. xD

ANY GENIUS CAN EXPLORE INTO THAT ?

xD

1128 posts
  • Author had a File in an Envato Bundle
  • Has been a member for 4-5 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Referred between 10 and 49 users
  • Bought between 50 and 99 items
FlashTang says

Cool :D

4126 posts
  • Bought between 1 and 9 items
  • Brazil
  • Community Superstar
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says

Very limited function adds on, too bad, but they are on the right direction.

As soon as they will kill any trace if its flash or not base on Mouse the better, but really this is so negligible for the IDE and it’s just an add-on for mobile.

Mouse function base on touch screen have so many problem in flash that’s the focused they should aim for and not playing with kids’ stuff .

magickaito —right now it can’t be done ,I try once to fake the right click so it will look like HTML click but its limit to only 15 raw or the bg right click color is fix i think and i can’t call the real HTML add on without massive extension like js bla bla

3573 posts
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Exclusive Author
  • Beta Tester
  • Has been a member for 3-4 years
  • Spain
+3 more
pezflash says

About the context menu disabling, i tried to upload an item on AD while ago. It was not accepted, as i couldn’t get running on all platforms. Right click context menu:

http://www.unpezvivo.com/proyectos/flashden/cmrc/
(yeah Tsafinho, as3!! ;) )

After that, i tried to share it for free here on the forum, as i couldn’t use it at all, and thought it could be useful for someone, but the thread was removed, as selfpromotion, deal with it. If anyone wants this old script, know my form.

4126 posts
  • Bought between 1 and 9 items
  • Brazil
  • Community Superstar
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says

^ you fake the context ?

3573 posts
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Exclusive Author
  • Beta Tester
  • Has been a member for 3-4 years
  • Spain
+3 more
pezflash says

Yeah, removing window event and replacing with a container. The core script which hides the plugin built-in right click event is not mine, i created the context menu replacement using the script.

I thought it could be useful mostly for game development, as it does not depends on cross-browers (most of the problems where on mac). But reviewer thought it was not valid that it was not running on all platforms. Too bad.

4126 posts
  • Bought between 1 and 9 items
  • Brazil
  • Community Superstar
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says

^ Ho ok you probably use ExternalInterface function which is ok but you don’t use the actual context menu that’s not what i want as you hide it .

Don’t know about you but this work on all my browser`s

270 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
magickaito says

wow tat’s really close to what I want… but i did a search it looks like there is no way to force the native browse right click menu (view source…). flash will be JUST LIKE HTML5 if tats possible haha!

by
by
by
by
by