flash - fl.controls.Slider hand cursor won't work -
I am using fl.controls. The sledger class and I can not show a hand cursor when sliding on it. Here's my code.
Import fl.controls.Slider; Var Slider: Slider = New slider (); Slider.x = 100; Slider.y = 100; Slider.wind = 168; Slider. Mouse enabled = true; Slider.useHandCursor = True; Slider.buttonMode = True; Slider. My child = true; AddChild; What am I doing?
fl.controls Don will not show a hand cursor if don is enabled Got a way to Pass your slider instance in this function:
function addButtonMode (display: *): zero {if (spread is displayed) {for (var i: int = 0; i & Lt; display.numChildren; I ++) {addButtonMode (display.getChildAt (i)); } Display.useHandCursor = True; Display.buttonMode = true; }}
Comments
Post a Comment