Yeah but what if someone wants to create a Slider only via action script (not by dragging from the components) and then wants to add that to the stage. Then hes going to have to:
- import fl.controls.slider in the actionscript
- Create an instance of the slider: var sliderz:Slider = new Slider();
- And then add an instance of it to the stage via: addChild(sliderz);
When I do this for example i get an error saying that it cant find the Slider or anything in the fl. package ?
|