It does and is already in use by the Flash Player to bring up the context menu. It can be enabled or not (the Macromedia copyright still being there if it's disabled!), and to my knowledge, you cannot override it or correct it with your own add-ons. Regards,
You can detect the right click and also wheel click if you have a wheel mouse but the context menu still pops up and ruins things on the right mouse click (there is a javascript workaround for this I believe but I've never tried it). Attach this to a movie clip, you might be able to use it somehow...
onClipEvent (enterFrame) {
// check for mouse clicks
if (Key.isDown(2)) {
trace ("You just pressed the right mouse button"
}
if (Key.isDown(4)) {
trace ("You have a wheel mouse"
}
} Slainte
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.