How can I create Sliders Dynamically?

Sliders work well by xml, but if I try
new haxe.ui.components.Slider();
it says
Cannot access private constructor of haxe.ui.components.Slider

Hey, so you need to use either HorizontalSlider or VerticalSlider.

Cheers,
Ian

Oh indeed … Thanks. :slight_smile:

1 Like