View Full Version : ultimate scroller and mouse wheel
josé santos
12-15-2005, 05:32 PM
can u tell me how to make the mouse wheel work with my ultimate scroll bar? or any kind of dynamic text that has a scroller?
i havent found answer to this question here in the forums
thanks
falltimemusic
12-15-2005, 05:38 PM
this is how you access the functionality of the mouse wheel
var mouseListener:Object = new Object();
mouseListener.onMouseWheel = function(wheelNum:Number)
{
if (wheelNum> 0)
{
trace("towards computer");
}
else if (wheelNum< 0)
{
trace("away from computer");
}
}
Mouse.addListener(mouseListener);
hope that helps
vijay.singh21
07-30-2009, 01:20 PM
hi falltimemusic
i used this same code for text filed its work fine but text doesnt stop scrolling after certain limit of lines. i want that whn i reach last line of my paragraph the scroll wheel should stop scrolling text
pls help me out
its urgent
any help would be appriciated
thank u
srry for my bad english
|
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.