Field Summary |
public
| addEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| clickHandler: 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
| killFocusHandler: 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.
|
|
public
| tabFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
|
Property Summary |
public
| align: String (write)
|
| Sets the horizontal alignment of the text in the component. Valid values are "left", "right" and "center".
|
|
public
| align: String (read)
|
| Gets the horizontal alignment of the text in the component.
|
|
public
| label: String (write)
|
| Sets the text to be shown on the button.
|
|
public
| label: String (read)
|
| Gets the text to be shown on the button.
|
|
public
| margin: Number (write)
|
| Sets the margin for the internal Resizer component
|
|
public
| margin: Number (read)
|
| Gets the margin for the internal Resizer component
|
|
public
| selected: Boolean (write)
|
| Sets to set the button's state. Can be used to set the button's state to down, if toggle is set to true.
|
|
public
| selected: Boolean (read)
|
| Gets the button's state.
|
|
public
| toggle: Boolean (write)
|
| Determines if button is a simple pushbutton, or a button that can be toggled on and off. If toggle is set to true, the buttons up or down state can be set or retrieved with the PushButton.selected property.
|
|
public
| toggle: Boolean (read)
|
| Gets the toggle mode of the component.
|
|
|
|
Constructor |
public
| PushButton (
Void)
|
|
|
|
Method Summary |
public static
| create (
target: MovieClip, id: String, depth: Number, initObj: Object
): PushButton |
| Static method used to create an instance of a PushButton on stage at run time.
|
|
|
|