Right, middle mouse detect

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.