Field Summary |
public
| addEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| changeHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| focusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| releaseOutsideHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| removeEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| rollOutHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| rollOverHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
|
Property Summary |
public
| lineScroll: Number (write)
|
| Determines how much the scrollbar's value will change when one of the arrow buttons is clicked. If the scrollbar is being used to control something like a text area, this should probably be set to one, to cause the text to scroll one line. If it is scrolling a picture or movie clip, it should probably be set to a larger amount.
|
|
public
| lineScroll: Number (read)
|
| Gets the scroll value changed when one of the arrow buttons is clicked.
|
|
public
| maximum: Number (write)
|
| Sets the maximum value of the scrollbar. In a vertical bar, this will be the value when the thumb is all the way to the bottom of the bar; in a horizontal one, when the thumb is to the far right. You can invert the bar by making minimum higher than maximum.
|
|
public
| maximum: Number (read)
|
| Gets the maximum value of the scrollbar.
|
|
public
| minimum: Number (write)
|
| Sets the minimum value of the scrollbar. In a vertical bar, this will be the value when the thumb is all the way to the top of the bar; in a horizontal one, when the thumb is to the far left. You can invert the bar by making minimum higher than maximum.
|
|
public
| minimum: Number (read)
|
| Gets the minimum value of the scrollbar.
|
|
public
| pageSize: Number (write)
|
| Sets the amount the value will change if the user clicks above or below the thumb. If not defined, the thumb will move the distance of its width/height and the value will be computed based on how much it moved.
|
|
public
| pageSize: Number (read)
|
| Gets the amount the value will change if the user clicks above or below the thumb.
|
|
public
| thumbScale: Number (write)
|
| Sets the percentage of the available space that the thumb will take up. A value from 0 to 1. This is generally computed in a component as a percentage of visible content to total content.
|
|
public
| thumbScale: Number (read)
|
| Gets the percentage of the available space that the thumb will take up.
|
|
public
| value: Number (write)
|
| Sets the current value of the scroll bar, between minimum and maximum.
|
|
public
| value: Number (read)
|
| Gets the current value of the scroll bar, between minimum and maximum.
|
|
|
Constructor |
public
| ScrollBar (
Void)
|
|
|
|
|
|