Property summary for the SimpleButton class
The following table lists properties of the SimpleButton class.
Property
SimpleButton.emphasized
SimpleButton.emphasizedStyleDeclaration
SimpleButton.selected
SimpleButton.toggle
Properties inherited from the UIObject class
The following table lists the properties the SimpleButton class inherits from the UIObject class.
When accessing these properties from the SimpleButton object, use the form
buttonInstance.propertyName
Property
UIObject.bottom
UIObject.height
UIObject.left
UIObject.right
UIObject.scaleX
UIObject.scaleY
UIObject.top
UIObject.visible
UIObject.width
UIObject.x
UIObject.y
Description
Indicates whether a button has the appearance of a
default push button.
The style declaration when the
set to
true
A Boolean value indicating whether the button is
selected (
true
.
false
A Boolean value indicating whether the button
behaves as a toggle switch (
default value is
.
Description
The position of the bottom edge of the object, relative to the
bottom edge of its parent. Read-only.
The height of the object, in pixels. Read-only.
The left edge of the object, in pixels. Read-only.
The position of the right edge of the object, relative to the right
edge of its parent. Read-only.
A number indicating the scaling factor in the x direction of the
object, relative to its parent.
A number indicating the scaling factor in the y direction of the
object, relative to its parent.
The position of the top edge of the object, relative to its parent.
Read-only.
A Boolean value indicating whether the object is visible (
not (
).
false
The width of the object, in pixels. Read-only.
The left edge of the object, in pixels. Read-only.
The top edge of the object, in pixels. Read-only.
emphasized
.
) or not (
). The default value is
false
) or not (
true
.
false
SimpleButton class
property is
). The
false
) or
true
687
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers