# Scrollwheel click

**URL:** <https://forum.kirupa.com/t/scrollwheel-click/35556>\
**Category:** Uncategorized\
**Created:** [November 15, 2003, 5:04am UTC](https://forum.kirupa.com/t/scrollwheel-click/35556 "2003-11-15T05:04:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![paradox244](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@paradox244](https://forum.kirupa.com/u/paradox244)\
**Post date:** [November 15, 2003, 5:04am UTC](https://forum.kirupa.com/t/scrollwheel-click/35556/1 "2003-11-15T05:04:57Z")

</div>

Is the anyway to determine in flash if the scroll wheel has been “clicked” so the if you move the mouse up it will scroll up move mouse down it goes down type of thing. I don’t know if it works on mac but with a PC if you click the mousewheel it come up with a little arrow thing, then you can scroll without rotating the wheel. Anyway if it is not possible to detect with only flash I will do it a different way.

Please don’t post a bunch of stuff about mouseWheelEnabled = true.

Thanks in Advance for taking the time to read and/or reply to my question

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 15, 2003, 9:15am UTC](https://forum.kirupa.com/t/scrollwheel-click/35556/2 "2003-11-15T09:15:42Z")

</div>

The key code for the scroll wheel is 4, which means that [font=courier new]Key.isDown(4)[/font] will return true if the mouse wheel has been pressed. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 15, 2003, 10:57am UTC](https://forum.kirupa.com/t/scrollwheel-click/35556/3 "2003-11-15T10:57:23Z")

</div>

Here’s something to start… 😉

I’ll probably improve it tomorrow if I have some spare time. 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 15, 2003, 11:05am UTC](https://forum.kirupa.com/t/scrollwheel-click/35556/4 "2003-11-15T11:05:04Z")

</div>

Thanks Kode didnt think about keycodes.  
If I had a nickel for everytime, it was the easiest solution, and I did it the complicated way…

Anyway thanks again,  
Shawn

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 15, 2003, 11:07am UTC](https://forum.kirupa.com/t/scrollwheel-click/35556/5 "2003-11-15T11:07:04Z")

</div>

You’re welcome, paradox. =)

… Care to share what you’ve done? 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 15, 2003, 11:33am UTC](https://forum.kirupa.com/t/scrollwheel-click/35556/6 "2003-11-15T11:33:28Z")

</div>

just started but when it is closer to being done I will post a link, nothing special though…just wanted to put the option on a textfield, on my [homepage](http://www.veuphoria.com) most will probably never realize it but it is there, I know…I’ll call it a personal bettering study
