<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting all the popups in a Flex application</title>
	<atom:link href="http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/</link>
	<description>Adobe Flex, Flash Platform and everything else about software development from a developer&#039;s point of view</description>
	<lastBuildDate>Thu, 02 Feb 2012 10:09:06 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andrea Bresolin</title>
		<link>http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/comment-page-1/#comment-196</link>
		<dc:creator>Andrea Bresolin</dc:creator>
		<pubDate>Mon, 19 Dec 2011 21:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.devahead.com/blog/?p=11#comment-196</guid>
		<description>Thanks for the feedback FlexMaster_Flash! You&#039;re right. This post was pretty old. I&#039;ve just updated it.</description>
		<content:encoded><![CDATA[<p>Thanks for the feedback FlexMaster_Flash! You&#8217;re right. This post was pretty old. I&#8217;ve just updated it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FlexMaster_Flash</title>
		<link>http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/comment-page-1/#comment-194</link>
		<dc:creator>FlexMaster_Flash</dc:creator>
		<pubDate>Sun, 18 Dec 2011 00:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.devahead.com/blog/?p=11#comment-194</guid>
		<description>Thanks for this post, you saved my day as well!

One note: got a warning that &quot;Application&quot; had been deprecated, so the following...  

applicationInstance = Application.application;

needs to change to...

applicationInstance = FlexGlobals.topLevelApplication;

..and of course you will need this as well:
import mx.core.FlexGlobals;

With those changes, works perfectly in Flash Builder 4.0.1</description>
		<content:encoded><![CDATA[<p>Thanks for this post, you saved my day as well!</p>
<p>One note: got a warning that &#8220;Application&#8221; had been deprecated, so the following&#8230;  </p>
<p>applicationInstance = Application.application;</p>
<p>needs to change to&#8230;</p>
<p>applicationInstance = FlexGlobals.topLevelApplication;</p>
<p>..and of course you will need this as well:<br />
import mx.core.FlexGlobals;</p>
<p>With those changes, works perfectly in Flash Builder 4.0.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A</title>
		<link>http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/comment-page-1/#comment-188</link>
		<dc:creator>A</dc:creator>
		<pubDate>Tue, 07 Jun 2011 22:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.devahead.com/blog/?p=11#comment-188</guid>
		<description>I Love you ! you saved my day .. :)</description>
		<content:encoded><![CDATA[<p>I Love you ! you saved my day .. <img src='http://www.devahead.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andr01dm</title>
		<link>http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/comment-page-1/#comment-186</link>
		<dc:creator>andr01dm</dc:creator>
		<pubDate>Wed, 23 Mar 2011 13:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.devahead.com/blog/?p=11#comment-186</guid>
		<description>I was using PopUpManagerChildList to track popups in order to remove the all in one go, but I found that it crashed my application when one of the popups contained a MenuBar, which also uses the PopUpManager.

I used your example here to write a new method for finding and removing all of the popups without using PopUpManagerChildList.

Thank you. :)</description>
		<content:encoded><![CDATA[<p>I was using PopUpManagerChildList to track popups in order to remove the all in one go, but I found that it crashed my application when one of the popups contained a MenuBar, which also uses the PopUpManager.</p>
<p>I used your example here to write a new method for finding and removing all of the popups without using PopUpManagerChildList.</p>
<p>Thank you. <img src='http://www.devahead.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arend</title>
		<link>http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/comment-page-1/#comment-53</link>
		<dc:creator>Arend</dc:creator>
		<pubDate>Thu, 03 Mar 2011 07:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.devahead.com/blog/?p=11#comment-53</guid>
		<description>thanks for posting!</description>
		<content:encoded><![CDATA[<p>thanks for posting!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sravan kumar reddy Konda</title>
		<link>http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/comment-page-1/#comment-41</link>
		<dc:creator>sravan kumar reddy Konda</dc:creator>
		<pubDate>Fri, 18 Feb 2011 02:12:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.devahead.com/blog/?p=11#comment-41</guid>
		<description>Hey Pradeep,

           Its pretty straight forward with flex 3.5 sdk you can access a property called nummodelwindows its gives the list of model windows currently in ur application and then play with it..</description>
		<content:encoded><![CDATA[<p>Hey Pradeep,</p>
<p>           Its pretty straight forward with flex 3.5 sdk you can access a property called nummodelwindows its gives the list of model windows currently in ur application and then play with it..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JG</title>
		<link>http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/comment-page-1/#comment-39</link>
		<dc:creator>JG</dc:creator>
		<pubDate>Tue, 18 Jan 2011 02:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.devahead.com/blog/?p=11#comment-39</guid>
		<description>Thanks for the post!  Saved me a bunch of time.  I owe you a beer :D</description>
		<content:encoded><![CDATA[<p>Thanks for the post!  Saved me a bunch of time.  I owe you a beer <img src='http://www.devahead.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Bresolin</title>
		<link>http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/comment-page-1/#comment-32</link>
		<dc:creator>Andrea Bresolin</dc:creator>
		<pubDate>Sun, 28 Nov 2010 21:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.devahead.com/blog/?p=11#comment-32</guid>
		<description>Hi Pradeep.

I don&#039;t know an easy way to detect if a popup is modal or not as the modal windows management seems to be internal to &lt;em&gt;mx.managers.PopUpManagerImpl&lt;/em&gt; in the Flex framework. If you look at the &lt;em&gt;createModalWindow&lt;/em&gt; function in that class, you&#039;ll see that the modal windows could be created as &lt;em&gt;FlexSprite&lt;/em&gt; named &lt;em&gt;modalWindow&lt;/em&gt; and they are always the child immediately before the corresponding popup in &lt;em&gt;systemManager.rawChildren&lt;/em&gt;. So if this is the case for you, you could just go through the &lt;em&gt;systemManager.rawChildren&lt;/em&gt; as the function &lt;em&gt;getAllPopups&lt;/em&gt; in &lt;em&gt;PopUpUtils&lt;/em&gt; does and check if the raw child before the popup is named &lt;em&gt;modalWindow&lt;/em&gt; to see if it&#039;s modal. I hope this helps.</description>
		<content:encoded><![CDATA[<p>Hi Pradeep.</p>
<p>I don&#8217;t know an easy way to detect if a popup is modal or not as the modal windows management seems to be internal to <em>mx.managers.PopUpManagerImpl</em> in the Flex framework. If you look at the <em>createModalWindow</em> function in that class, you&#8217;ll see that the modal windows could be created as <em>FlexSprite</em> named <em>modalWindow</em> and they are always the child immediately before the corresponding popup in <em>systemManager.rawChildren</em>. So if this is the case for you, you could just go through the <em>systemManager.rawChildren</em> as the function <em>getAllPopups</em> in <em>PopUpUtils</em> does and check if the raw child before the popup is named <em>modalWindow</em> to see if it&#8217;s modal. I hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pradeep</title>
		<link>http://www.devahead.com/blog/2009/12/getting-all-the-popups-in-a-flex-application/comment-page-1/#comment-31</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Tue, 23 Nov 2010 05:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.devahead.com/blog/?p=11#comment-31</guid>
		<description>Hi,

I want to detect whether a popup is modal or not. If it is modal, then the rest of the components will be blurred and the user cannot interact with them. I want to programmatically catch this scenario.

Could you please tell me how?

Thanks,
Pradeep.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I want to detect whether a popup is modal or not. If it is modal, then the rest of the components will be blurred and the user cannot interact with them. I want to programmatically catch this scenario.</p>
<p>Could you please tell me how?</p>
<p>Thanks,<br />
Pradeep.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

