I want to show all popup windows(already popped up and closed individually) on an image by pressing a button press and want to close all those windows on another button press. A
Try this:
for (var i:int = systemManager.popUpChildren.numChildren - 1; i >= 0; i--) { var popup:IFlexDisplayObject = IFlexDisplayObject(systemManager.popUpChildren.getChildAt(i)); PopUpManager.removePopUp(popup); }