# onMouseWheel?

**URL:** <https://forum.kirupa.com/t/onmousewheel/172640>\
**Category:** flash\
**Created:** [December 16, 2005, 12:52pm UTC](https://forum.kirupa.com/t/onmousewheel/172640 "2005-12-16T12:52:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joene](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@joene](https://forum.kirupa.com/u/joene)\
**Post date:** [December 16, 2005, 12:52pm UTC](https://forum.kirupa.com/t/onmousewheel/172640/1 "2005-12-16T12:52:57Z")

</div>

Hi,

I seem to be having a small problem with the “onMouseWheel” handler.

[list]  
[_][left]When tested in Flash: works perfectly.[/left]  
[_]When tested in IE, after publish: works, but only if my mousepointer is inside the movieclip that is supposed to be doing something.  
[\*]When tested in FireFox / Flock: it doesn’t do anything.  
[/list]The code I used is:

[AS]  
var root:MovieClip = this;

var mList:Object = new Object();  
mList.onMouseWheel = function(delta:Number) {  
root.graph\_mc.\_rotation += delta \* 5;  
root.graph\_mc.delta\_txt.text = delta;  
}  
Mouse.addListener(mList);  
[/AS]  
A very basic adding-a-listener-to-something-to-check-something situation, but aparently I’m missing something.

Thanks in advance
