I’m using the fl.controls.Slider class and I can’t get it to show a hand cursor when hovering over it. Here’s my code.
import fl.controls.Slider;
var slider : Slider = new Slider();
slider.x = 100;
slider.y = 100;
slider.width = 168;
slider.mouseEnabled = true;
slider.useHandCursor = true;
slider.buttonMode = true;
slider.mouseChildren = true;
addChild( slider );
What am I doing wrong?
fl.controls don’t show a hand cursor when enabled. Silly I know. I did find a way to get it to work though. Pass your Slider instance into this function: