Using ActionScript 3.0 Components |
|
|
|
| Customizing the UI Components > Customizing the NumericStepper | |||
You can transform a NumericStepper component horizontally and vertically while authoring and at run time. While authoring, select the component on the Stage and use the Free Transform tool or any of the Modify > Transform commands. At run time, use the setSize() method or any applicable properties and methods of the NumericStepper class such as width, height, scaleX and scaleY.
Resizing the NumericStepper component does not change the width of the down and up arrow buttons. If the stepper is resized to be greater than the default height, the default behavior pins the arrow buttons to the top and bottom of the component. Otherwise, 9-slice scaling determines how the buttons are drawn. The arrow buttons always appear to the right of the text box.
|
|
|
|