Is there any ways of detecting wheteher or not the user is pushing in his mouse wheel in AS. Like instead of Key.isDown is there anything I can do for the mouse wheel?
Is there any ways of detecting wheteher or not the user is pushing in his mouse wheel in AS. Like instead of Key.isDown is there anything I can do for the mouse wheel?
no, mouse wheel is not detectable in AS. maybe in a future version...
Flash can only detect if the mouse wheel is "turned"
Yes, Flash can detect the mouse wheel as of Flash Player 6, however it only works with windows versions of Flash. It's a little tricky to use because you have to define onMouseWheel as a function with a paramter (unlike the rest of the event functions) but it explains it here: http://livedocs.macr..p;file=00000744.html
At 7/21/05 05:35 PM, gorman2001 wrote: no, mouse wheel is not detectable in AS. maybe in a future version...
dont be to sure about that, because i no that the mouse wheel can act as a third button, and it can be configured to do stuff so it may be possible.
oh well, seems AS evolution is outstanding me (*punch himself*)...
0_o that onMouseWheel thing might be useful in shooting games and such, for like switching through weapons or invertory and whatnot...but you'd have to have that as a separate button config, and a different one for ppl without a mouse wheel...
I've used the mouseWheel feature its only for scrolling. Show me one flash game or anything that uses the wheel press. I made this sniper demo with it.
http://www.newbloodsucks.com/sniper.html
the controls are realllly tricky but thats how I like them.