User Guide
76 Alert component (Flash Professional only)
Alert.buttonHeight
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
Alert.buttonHeight
Description
Property (class); a class (static) property that changes the height of the buttons. The default
value is 22.
Example
With an Alert component already in the library, this example resizes the buttons:
import mx.controls.Alert;
// Adjust button sizes.
Alert.buttonHeight = 50;
Alert.buttonWidth = 150;
// Show alert dialog box.
Alert.show("Launch Stock Application?", "Stock Price Alert", Alert.OK |
Alert.CANCEL);
See also
Alert.buttonWidth
Alert.buttonWidth
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
Alert.buttonWidth