Hey guys,
I want to make a mouse wheel scrollable textarea, but without the ability to select the text.
So I’m having a dynamic text box, and this code:
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {
_root.index_page.container.latest_news.scroll += delta;
}
Mouse.addListener(mouseListener);
The problem is, that if you scroll DOWN, on the mousewheel, the text goes DOWN too. (the text should go up, normally)…
_root.index_page.container.latest_news.scroll -= delta; <- doesn’t help…
What should I do?..
Thanks.