ActionScript 2.0 Components Language Reference |
|
|
|
| Alert component > Alert.buttonHeight | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
Alert.buttonHeight
Property (class); a class (static) property that changes the height of the buttons. The default value is 22.
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);
|
|
|
|