ActionScript 2.0 Components Language Reference |
|
|
|
| UIScrollBar Component > Customizing the UIScrollBar component | |||
You can transform a UIScrollBar component horizontally and vertically while authoring and at runtime. However, a vertical UIScrollBar does not allow you to modify the width, and a horizontal UIScrollBar does not allow you to modify the height. While authoring, select the component on the Stage and use the Free Transform tool or any of the Modify > Transform commands. At runtime, use the setSize() method (see UIObject.setSize()) or any applicable properties and methods of the UIScrollBar class.
|
NOTE |
If you use the |
Note, however, that with the Halo theme, the width of a vertically oriented scroll bar must be 16 pixels, and the height of a horizontally oriented scroll bar must also be 16 pixels. These dimensions are determined strictly by the current theme used with the scroll bar. Only the dimension of a scroll bar that corresponds to its length can be changed.
You can customize the appearance of a UIScrollBar instance by using styles and skins.
|
|
|
|