-
right mouse click!
Hello all,
I am trying to trigger events from the click of the right mouse button. Does anyone know how to trap the right mouse click in actionscript?
Thanks
Stee
-
You can trap it... But it will open up the right-click context menu, and that's a whole other story!
code:
stop();
this.onEnterFrame = function(){
if(Key.isDown(2)){
trace("Right Click")
}
};
-
Thanks for the info.
Do you happen to know how to remove the standard right mouse menu so that I can replace it with my own?
Thanks again much appreciated
Stee
-
With MX2004 only...
http://www.actionscripts.org/tutoria...nu/index.shtml
Up until MX, you can only somewhat disable it, but it'll still show Settings and the MM credit/link.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|