The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 5 of 5

Thread: !A subject of much debate..

  1. #1

    !A subject of much debate..

    Hey, I want to make an MMO! jk


    Is it possible to recognize right (or ctrl-click) mouse presses?
    How can I hide the right click menu? (Stand alone, not in browser)
    - Flash 8, AS2.0

    My first post here, love the site, beginning of a beautiful friendship..

    Crap, sorry, my first post and I realize that it's in the wrong section. Can a mod please move this?
    Last edited by t0w; April 17th, 2008 at 05:29 PM. Reason: woops sorry

  2. #2
    I think its possible, I remeber doing something very simillar.

    I don't remeber how though, I bet a quick google search would snag some results.

  3. #3
    yeah use the search or google for it. Tons of people have done it. My brother and I wrote this really quick to show that its possible with AS3. You just have javascript forward the input and you can get right click and everything. (middle mouse clicking causes problems if I remember correctly).

    http://www.kirupa.com/forum/showthre...ighlight=click

    also you may need to program browser specific stuff if you find it doesn't function in all browsers.

  4. #4
    I figured out how to get it to recognize right mouse clicks in AS2. Then hiding the menu only partially worked. Thank you for tipping me off the js idea. However, I have actually decided that I no longer need this (but if I ever want to follow up it will be much easier). Thanks for the responses!

  5. #5
    If you just want right click functionality yea that example work in all browsers but Opera, but very few use opera and you could simply check if they are using opera with JS.

    //edit, good to see you found a way without using it.

    Join #kirupa | Click the under my Username | CL | Jeff

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012