# Right, middle mouse detect

**URL:** https://forum.kirupa.com/t/right-middle-mouse-detect/237572
**Category:** Uncategorized
**Created:** [August 31, 2007, 3:26pm UTC](https://forum.kirupa.com/t/right-middle-mouse-detect/237572 "2007-08-31T15:26:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![smuella](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@smuella](https://forum.kirupa.com/u/smuella)
#### Post date: [August 31, 2007, 3:26pm UTC](https://forum.kirupa.com/t/right-middle-mouse-detect/237572/1 "2007-08-31T15:26:05Z")

</div>

Hi,

I’m trying to build an interactive using a tracker ball with four buttons that the computer sees as a USB Mouse… And I’ve hit a problem in that I don’t know how to get flash to detect middle or right mouse clicks…

If anyone has any advice it would be greatly appreciated.  
The project is going to be a projector, not a swf… I’ve been looking at the possibility of using swfkit or jugglor or screenweaver which some forums suggested may be able to capture the mouse events and trigger actionscript functions - but I’ve never used these before and don’t know which is the easiest to use, or even if any of them actually do what I want… a brief look at documentation seems to suggest swfkit can detect right button clicks but doesn’t say anything about middle button events…

Has anyone been here before?

Many thanks,

Sam.
