Package | fl.controls |
Class | public class SliderDirection |
Inheritance | SliderDirection ![]() |
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9.0.28.0 |
See also
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
HORIZONTAL : String = "horizontal" [static]
Position the Slider component on the horizontal axis.
| SliderDirection | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
VERTICAL : String = "vertical" [static]
Position the Slider component on the vertical axis.
| SliderDirection |
HORIZONTAL | property |
public static var HORIZONTAL:String = "horizontal"
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9.0.28.0 |
Position the Slider component on the horizontal axis.
import fl.controls.Slider; import fl.controls.SliderDirection; var hSlider:Slider = new Slider(); hSlider.direction = SliderDirection.HORIZONTAL; hSlider.snapInterval = 1; hSlider.tickInterval = hSlider.snapInterval; hSlider.move(10, 10); addChild(hSlider);
VERTICAL | property |
public static var VERTICAL:String = "vertical"
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9.0.28.0 |
Position the Slider component on the vertical axis.
import fl.controls.Slider; import fl.controls.SliderDirection; var vSlider:Slider = new Slider(); vSlider.direction = SliderDirection.VERTICAL; vSlider.snapInterval = 1; vSlider.tickInterval = vSlider.snapInterval; vSlider.move(30, 100); addChild(vSlider);