import mx.controls.Alert;
public var myAlert:Alert;
private function openAlert():void {
myAlert = Alert.show("this is a test", "Alert", Alert.OK | Alert.CANCEL);
myAlert.height=150;
myAlert.width=150;
}