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
Properties inherited from the UIObject class
The following table lists the properties the Button class inherits from the UIObject class. When
accessing these properties from the Button 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
buttonInstance.propertyName
Description
Indicates whether a button has the look of a default
push button.
The style declaration when the
set to
true
A Boolean value indicating whether the button is
selected (
.
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
true
false
true
.
false
Button component
.
property is
) or not (
). The
false
) or
true
141
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?