I’m working on a site with a lot of flash work. There is a lot of use of scrollbars and I am coming across a problem in Firefox. When you initially grab the scrollbar and start moving it it is very sluggish and choppy, but when you release the mouse button and then try moving it again, it works perfectly fine. Nice and smooth. ex (http://www.i4test.com/harristone/products/) .
It works fine in all IE Browsers.
Here is the source of my custom scrollbar.
handle_mc.onPress = function() {
dragThis();
startDrag(handle_mc, false, 536, 50, 536, 379);
}
handle_mc.onMouseUp = function() {
stopDrag();
}
this.onEnterFrame = function() {
var thumbsH = getProperty(thumbs_mc, _height);
var barH = 329;
var handleH = 22;
var handleY = handle_mc._y;
var yAmt = (thumbsH - barH) / (barH - handleH);
thumbs_mc._y = -(handleY * yAmt) + 180;
}
Anyone know how to remedy this problem?:pirate3: