How to close all popup windows in Flex?
问题 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. Any help is appreciated. 回答1: Try this: package com.devahead.utils { import flash.display.DisplayObject; import mx.collections.ArrayCollection; import mx.core.Application; //import mx.core.FlexGlobals; // NOTE: use this import for Flex 4.x and higher import mx.core.IChildList; import mx.core.UIComponent; import mx