If you couldn’t tell, I’m suddenly desperate.
How do you remove an Alert component?
Alert.show returns a reference… but to what, I’m not sure. Additionally, the PopUp created via PopUpManager… where are he and the alert at depth-wise?
To use these components, should the rest of my components be using DeptManager instead of my own depths?
So many questions, so little time…
try PopUp.deletePopUp(); or it’s the instance name of your alert.deletePopUp();
import mx.controls.Alert;
var msgWin = Alert.show(“test”);
// then to programmatically remove:
msgWin.deletePopUp();