MouseWheel height?

Hello everyone.

I got a problem with the following code:


var mouseListener:Object = new Object();
mouseListener.onMouseWheel = function(delta) {
    XmlItems.content_txt._y += delta;
}
Mouse.addListener(mouseListener);

It works great although it doesn’t stop when the text finishes,it just keep scrolling.
Any suggestions? :slight_smile: