Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Actionscript - Disable Mouse Move?
Is there a simple way of disabling the mouse from moving at all, with Actionscript 2.0?
I'm trying to put this into my Flash Game, so that's why I have to use ActionScript.
What it is, is a mouse chaser game. When you get caught, I made it so the enemy goes through an animation, and THEN it's game over. But I need to make it so the mouse can't be moved so that the game over will work when you get caught. Otherwise you can just move out of the way and the only thing that happens is that you get a high score and you lose your score. But no game over screen.
That's a good idea. I actually have already done that, but maybe I could try to change hitTest from the mouse to the graphic.
1 Answer
- 1 decade agoFavorite Answer
Actionscript can't control elements outside of flash's parameters. If you want something that tries this you might look into is using javascript, as that can the browser window and (possibly) the computer.
EDIT:
You can always use actionscript to create a custom cursor (an image that follows the cursor, and hides the natural image of the cursor), then freeze it.