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
| eventOnValue: Boolean |
| Can be used to choose whetever the event handler will be called when the value has been set by code. This variable is set to true by default.
|
|
public
| focusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| killFocusHandler: 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
| tabFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
|
Property Summary |
public
| maximum: Number (write)
|
| Sets the maximum possible value on the knob. Note, it is possible to make a "backwards" knob by making maximum lower than minimum.
|
|
public
| maximum: Number (read)
|
| Gets the maximum possible value on the knob.
|
|
public
| minimum: Number (write)
|
| Sets the minimum possible value on the knob. Note, it is possible to make a "backwards" knob by making maximum lower than minimum.
|
|
public
| minimum: Number (read)
|
| Gets the minimum possible value on the knob.
|
|
public
| mode: String (write)
|
| Determines what type of mouse movement will be used to change the knob's value. Vertical means that after clicking on the knob, dragging up will increase its value, dragging down will decrease it. For horizontal, dragging right and left will increase or decrease the value, respectively. In the angular mode the knob value will be set by the mouse position (added in version 1.2).
|
|
public
| mode: String (read)
|
| Gets the mode the knob.
|
|
public
| sensitivity: Number (write)
|
| Determines how much mouse movement is needed to make a given amount of change of value in the knob. A higher value for sensitivity will mean that less mouse movement is required to cycle through the full range of values.
|
|
public
| sensitivity: Number (read)
|
| Gets the the knob sensitivity.
|
|
public
| value: Number (write)
|
| Sets the value of the knob. This will fire the change event if the eventOnValue is set to true (changed in version 1.3).
|
|
public
| value: Number (read)
|
| Gets the value of the knob.
|
|
|
Constructor |
public
| Knob (
Void)
|
|
|
|
Method Summary |
public static
| create (
target: MovieClip, id: String, depth: Number, initObj: Object
): Knob |
| Static method used to create an instance of a Knob on stage at run time.
|
|
|
|