Methods inherited from the UIComponent class
The following table lists the methods the Button class inherits from the UIComponent class.
When calling these methods from the Button object, use the form
buttonInstance.methodName
Method
UIComponent.getFocus()
UIComponent.setFocus()
Property summary for the Button class
The following table lists properties of the Button class.
Property
Button.icon
Button.label
Button.labelPlacement
Properties inherited from the SimpleButton class
The following table lists the properties the Button class inherits from the SimpleButton class.
When accessing these properties, use the form
Property
SimpleButton.emphasized
SimpleButton.emphasizedStyleDeclaration
SimpleButton.selected
SimpleButton.toggle
.
Description
Returns a reference to the object that has focus.
Sets focus to the component instance.
Description
Specifies an icon for a button instance.
Specifies the text that appears in a button.
Specifies the orientation of the label text in relation to an icon.
buttonInstance.propertyName
Description
Indicates whether a button has the look of a
default push button.
The style declaration when the
property is set to
A Boolean value indicating whether the button is
selected (
is
false
A Boolean value indicating whether the button
behaves as a toggle switch (
The default value is
.
true
) or not (
). The default value
true
false
.
true
.
false
.
emphasized
) or not (
).
false
Button class
103
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?