How to access all popup window and remove all popup window ?

</pre>
var systemManager:SystemManager = FlexGlobals.topLevelApplication.systemManager
var popupStatus:* = systemManager.popUpChildren.getChildByName( 'popupStatus' );

if( popupStatus )
{
PopUpManager.removePopUp( popupStatus );
}

src: http://www.axelscript.com/2011/05/12/see-if-a-popup-is-up/

src: http://www.axelscript.com/2011/05/12/see-if-a-popup-is-up/

Advertisements

One thought on “How to access all popup window and remove all popup window ?

  1. Usually I don’t learn post on blogs, however I wish to say that this write-up very compelled me to try and do so! Your writing taste has been surprised me. Thank you, very nice article.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s