# "onMouseDown" working, can't get "onMouseWheel" to work

**URL:** https://forum.kirupa.com/t/onmousedown-working-cant-get-onmousewheel-to-work/159578
**Category:** flash
**Created:** [August 18, 2005, 1:48pm UTC](https://forum.kirupa.com/t/onmousedown-working-cant-get-onmousewheel-to-work/159578 "2005-08-18T13:48:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![contrast](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@contrast](https://forum.kirupa.com/u/contrast)
#### Post date: [August 18, 2005, 1:48pm UTC](https://forum.kirupa.com/t/onmousedown-working-cant-get-onmousewheel-to-work/159578/1 "2005-08-18T13:48:17Z")

</div>

I’m using AS2, I have a simple class in an external .as file. I have it extend MovieClip and I have a few functions that work great, such as “function onMouseDown()” and “function onMouseMove()”.

Now I want to do the same with onMouseWheel. The only problem is that I can’t get it to work without specifying in the constructor for the class “Mouse.addListener(this);” But this causes my other functions (such as the onMouseDown and onMouseUp) to register twice, so it sees every single click as a double click.

Is there something I am missing? Thanks for any help.
