CompuServe Messages

DirectorMouse??

    01-Jan-95 20:28:31
Sb: DirectorMouse??
Fm: George S. Roland 74030,231
To: All
I'm working on an interactive artwork using Right Answers Group's The Director2. I am running into a problem and hoped someone here might be able to give me some advice. The program I'm working on requires the user to move the mouse to keep events going. I'm using the IFMOUSE X,Y command to process mouse movements continuously. This command returns a -1 to the x variable if the mouse is still and a positive x coordinate if the mouse is moving. That's how I tell if the user is there and engaged in the work. I am also using ABORT 0, which defeats the usual mouse button responses of The Director2. The problem comes when the user doesn't just move the mouse but begins clicking away on the mouse buttons. Rapid, repeated clicking of either or both mouse buttons seems to send the program off into some weird, "never-never-land" state where it just doesn't work correctly. I'd like to find a way to have the program either ignore these clicks or, if there's no way to do that, to have it "process" them in some less harmful way, so that they don't cause the whole program to go haywire. Basically, then, how can I get The Director2 to ignore mouse button clicks? Any help will be appreciated. George Roland