User Guide
Alert component (Flash Professional only) 121
Property summary for the Alert class
The following table lists properties of the Alert class.
Properties inherited from the UIObject class
The following table lists the properties the Alert class inherits from the UIObject class. When
calling these properties from the Alert object, use the form
Alert.propertyName.
Property Description
Alert.buttonHeight The height of each button, in pixels. The default value is 22.
Alert.buttonWidth The width of each button, in pixels. The default value is 100.
Alert.CANCEL A constant hexadecimal value indicating whether a Cancel
button should be displayed in the Alert window.
Alert.cancelLabel The label text for the Cancel button.
Alert.click The label text for the No button.
Alert.NO A constant hexadecimal value indicating whether a No
button should be displayed in the Alert window.
Alert.OK A constant hexadecimal value indicating whether an OK
button should be displayed in the Alert window.
Alert.okLabel The label text for the OK button.
Alert.YES A constant hexadecimal value indicating whether a Yes
button should be displayed in the Alert window.
Alert.yesLabel The label text for the Yes button.
Property Description
UIObject.bottom The position of the bottom edge of the object, relative to the
bottom edge of its parent. Read-only.
UIObject.height The height of the object, in pixels. Read-only.
UIObject.left The left edge of the object, in pixels. Read-only.
UIObject.right The position of the right edge of the object, relative to the right
edge of its parent. Read-only.
UIObject.scaleX A number indicating the scaling factor in the x direction of the
object, relative to its parent.
UIObject.scaleY A number indicating the scaling factor in the y direction of the
object, relative to its parent.
UIObject.top The position of the top edge of the object, relative to its parent.
Read-only.
UIObject.visible A Boolean value indicating whether the object is visible (true) or
not (
false).
UIObject.width The width of the object, in pixels. Read-only.