Base class for HScrollBar and VScrollBar
Constructor
new (orientation:String, ?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?defaultHandler:Dynamic)
Constructor
Parameters:
orientation | Whether this is a vertical or horizontal slider. |
---|---|
parent | The parent DisplayObjectContainer on which to add this Slider. |
xpos | The x position to place this component. |
ypos | The y position to place this component. |
defaultHandler | The event handling function to handle the default event for this component (change in this case). |
Variables
Methods
setSliderParams (min:Float, max:Float, value:Float):Void
Convenience method to set the three main parameters in one shot.
Parameters:
min | The minimum value of the slider. |
---|---|
max | The maximum value of the slider. |
value | The value of the slider. |