(Beta)
Package | fl.controls |
Class | public class SliderDirection |
Inheritance | SliderDirection Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Related API Elements
Public Properties
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 | ||
VERTICAL : String = "vertical" [static]
Position the Slider component on the vertical axis. | SliderDirection |
Public Methods
Property Detail
HORIZONTAL | property |
public static var HORIZONTAL:String = "horizontal"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Position the Slider component on the horizontal axis.
Example ( How to use this example )
The following example creates a horizontal slider:
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 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Position the Slider component on the vertical axis.
Example ( How to use this example )
The following example creates a vertical slider:
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);
Wed Nov 21 2018, 06:34 AM -08:00