# Mouse wheel scrolling

**URL:** <https://forum.kirupa.com/t/mouse-wheel-scrolling/229717>\
**Category:** Uncategorized\
**Created:** [June 19, 2007, 6:41pm UTC](https://forum.kirupa.com/t/mouse-wheel-scrolling/229717 "2007-06-19T18:41:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![berkoWitZ](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@berkoWitZ](https://forum.kirupa.com/u/berkoWitZ)\
**Post date:** [June 19, 2007, 6:41pm UTC](https://forum.kirupa.com/t/mouse-wheel-scrolling/229717/1 "2007-06-19T18:41:35Z")

</div>

hello,

I have a long textfield with the UIScrollbar working perfectly, but I need to activate the mouse wheel support, however I´m doing something wrong because when I do it the whole text moves up and down but it doesn´t scroll, any idea what I´m doing wroong?

Thanks people.

[AS]mouseListener = new Object();  
mouseListener.onMouseWheel = function(delta) {  
nuestrafirma.\_y += delta;  
}  
Mouse.addListener(mouseListener);[/AS]

“nuestrafirma” is the textfield instance name.
