View Full Version : Close Alert box with a function
mikeynl
09-04-2009, 09:35 AM
I have a program that uses Alert boxes, but I want to make them disappear using a function (one that depends on a timer). Is this possible? The only way to close Alert boxes seems to be to press the buttons on the Alert box, but I wanna close it from an external function.
amarghosh
09-04-2009, 10:10 AM
store the alert instance in a variable and remove it using popupmanager var alert:Alert = Alert.show(...);
//later - somewhere else
PopUpManager.removePopup(alert);
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.