I have a flash form and this code to send an alert onload.
The Alert is
positioned below my form. Is there a way to get it to be
positioned on top
or within the form?
Thanks for any help you can give!!!
var myAlert = mx.controls.Alert.show("Please enter your zip
code first.",
"Information");
//set the font color and button labels of all alerts
_global.styles.Alert.setStyle("color", 0x0066CC);
mx.controls.Alert.buttonWidth = 50;
//set the style of the title only with a named style
declaration
mx.controls.Alert.titleStyleDeclaration = "windowStyles";
//change the size
myAlert.width = 190;
myAlert.height = 100;
myAlert.verticalAlign = "Top";
myAlert.verticalGap = 1;
myAlert.y = 0;
//change this alert's style only
myAlert.setStyle("fontStyle", "italic");
myAlert.setStyle("panelBorderStyle","default");
myAlert.setStyle("cornerRadius","0");