00:00
00:00
Newgrounds Background Image Theme

Mekatov just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Pushing in the wheel (AS)

2,141 Views | 7 Replies
New Topic Respond to this Topic

Pushing in the wheel (AS) 2005-07-21 17:28:29


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?


- Matt, Rustyarcade.com

Response to Pushing in the wheel (AS) 2005-07-21 17:35:54


no, mouse wheel is not detectable in AS. maybe in a future version...


website :: hugostonge.com

my job :: we+are

Response to Pushing in the wheel (AS) 2005-07-21 17:41:17


Flash can only detect if the mouse wheel is "turned"

Response to Pushing in the wheel (AS) 2005-07-21 17:41:33


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

Response to Pushing in the wheel (AS) 2005-07-21 17:41:37


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.


WEBSITE

BLOG ~ Dont fuck around with my dog. All that I can see I steal. ~

NG FFR ~ Automatic for the people.

BBS Signature

Response to Pushing in the wheel (AS) 2005-07-21 17:44:30


oh well, seems AS evolution is outstanding me (*punch himself*)...


website :: hugostonge.com

my job :: we+are

Response to Pushing in the wheel (AS) 2005-07-21 17:45:03


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...

Response to Pushing in the wheel (AS) 2005-07-21 22:45:50


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.