<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: popupbutton that opens in all directions</title>
	<atom:link href="http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/feed/" rel="self" type="application/rss+xml" />
	<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/</link>
	<description>Toxicated Flex/Silverlight Blog</description>
	<lastBuildDate>Tue, 10 Nov 2009 18:27:14 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alex</title>
		<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/#comment-209</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 09 Apr 2009 18:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://shemesh.wordpress.com/?p=28#comment-209</guid>
		<description>it breaks the moment you drag the panel off-stage slightly so the scrollbars appear.</description>
		<content:encoded><![CDATA[<p>it breaks the moment you drag the panel off-stage slightly so the scrollbars appear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/#comment-142</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Fri, 06 Mar 2009 15:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://shemesh.wordpress.com/?p=28#comment-142</guid>
		<description>Brilliant, thank you Vijay.

That works a treat. I was able to catch the close events using the X button, and clicking the PopUpButton, it was the clicking outside the control I couldn&#039;t get, so the hint to override the .focusOut event was spot on.

Thank you again.

Cheers

Ian</description>
		<content:encoded><![CDATA[<p>Brilliant, thank you Vijay.</p>
<p>That works a treat. I was able to catch the close events using the X button, and clicking the PopUpButton, it was the clicking outside the control I couldn&#8217;t get, so the hint to override the .focusOut event was spot on.</p>
<p>Thank you again.</p>
<p>Cheers</p>
<p>Ian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay Anand Mareddy</title>
		<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/#comment-141</link>
		<dc:creator>Vijay Anand Mareddy</dc:creator>
		<pubDate>Fri, 06 Mar 2009 14:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://shemesh.wordpress.com/?p=28#comment-141</guid>
		<description>Ian, try these 
1. The TitleWindow ( if showCloseButton=true)dispatches a DropdownEvent.CLOSE event and we need to listen for it and invoke the close() method on subclass of PopUpButtonDirectional

popUpTitleWindow.addEventListener(DropdownEvent.CLOSE,close());

2. override the PopUpButtonDirectional.focusOutHandler</description>
		<content:encoded><![CDATA[<p>Ian, try these<br />
1. The TitleWindow ( if showCloseButton=true)dispatches a DropdownEvent.CLOSE event and we need to listen for it and invoke the close() method on subclass of PopUpButtonDirectional</p>
<p>popUpTitleWindow.addEventListener(DropdownEvent.CLOSE,close());</p>
<p>2. override the PopUpButtonDirectional.focusOutHandler</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/#comment-140</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Fri, 06 Mar 2009 10:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://shemesh.wordpress.com/?p=28#comment-140</guid>
		<description>Sorry Shemesh, that didn&#039;t make a lot of sense did it? :-)

Basically, I have a TitleWindow that slides down with settings the user can change. Is it possible to make the TitleWindow modal using this method?

I.e. once pop-open, do not allow the user to click outside of it to close it and to give the background application the blur effect. This would make the user forced to click a button on the TitleWindow to close it, and then you can force the data they change to be validated before it closes.

I.e. once it slides down, don&#039;t allow the window to close until they click an &quot;OK&quot; button on that TitleWindow. In effect making it act just like an Alert.

Hope that is clearer :-)

Cheers

Ian</description>
		<content:encoded><![CDATA[<p>Sorry Shemesh, that didn&#8217;t make a lot of sense did it? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Basically, I have a TitleWindow that slides down with settings the user can change. Is it possible to make the TitleWindow modal using this method?</p>
<p>I.e. once pop-open, do not allow the user to click outside of it to close it and to give the background application the blur effect. This would make the user forced to click a button on the TitleWindow to close it, and then you can force the data they change to be validated before it closes.</p>
<p>I.e. once it slides down, don&#8217;t allow the window to close until they click an &#8220;OK&#8221; button on that TitleWindow. In effect making it act just like an Alert.</p>
<p>Hope that is clearer <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Cheers</p>
<p>Ian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shemesh</title>
		<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/#comment-139</link>
		<dc:creator>shemesh</dc:creator>
		<pubDate>Fri, 06 Mar 2009 07:47:17 +0000</pubDate>
		<guid isPermaLink="false">http://shemesh.wordpress.com/?p=28#comment-139</guid>
		<description>Ian,
i don&#039;t really understand what you are trying to do.
a modal alert that come out of a PopUpButton?
these are 2 totally different things and intended for different use cases.
the PopUpButton is intended to use as a &quot;fly-out&quot;.
if you need help, plz elaborate.</description>
		<content:encoded><![CDATA[<p>Ian,<br />
i don&#8217;t really understand what you are trying to do.<br />
a modal alert that come out of a PopUpButton?<br />
these are 2 totally different things and intended for different use cases.<br />
the PopUpButton is intended to use as a &#8220;fly-out&#8221;.<br />
if you need help, plz elaborate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/#comment-138</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Thu, 05 Mar 2009 20:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://shemesh.wordpress.com/?p=28#comment-138</guid>
		<description>Love using the PopUpButton myself.

Is it possible to make the popped up UIComponent so it displays modally like and Alert?

I know you can use PopUpManager, but what a pain ;-)</description>
		<content:encoded><![CDATA[<p>Love using the PopUpButton myself.</p>
<p>Is it possible to make the popped up UIComponent so it displays modally like and Alert?</p>
<p>I know you can use PopUpManager, but what a pain <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slum</title>
		<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/#comment-121</link>
		<dc:creator>slum</dc:creator>
		<pubDate>Thu, 05 Feb 2009 22:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://shemesh.wordpress.com/?p=28#comment-121</guid>
		<description>Great post!  I&#039;ve been looking all over for something like this.</description>
		<content:encoded><![CDATA[<p>Great post!  I&#8217;ve been looking all over for something like this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay Anand Mareddy</title>
		<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/#comment-119</link>
		<dc:creator>Vijay Anand Mareddy</dc:creator>
		<pubDate>Fri, 23 Jan 2009 14:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://shemesh.wordpress.com/?p=28#comment-119</guid>
		<description>Any idea why i would get this error in the constructor of my subclassed version of PopupButtonDirectional:

If i remove this line the error goes away ==&gt; popUp = new Panel();

Error
	at mx.managers::SystemManager/updateLastActiveForm()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:5087]
	at mx.managers::SystemManager/activateForm()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2352]
	at mx.managers::SystemManager/activate()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2307]
	at mx.managers::FocusManager/creationCompleteHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\FocusManager.as:1592]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]
	at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]
	at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]
	at Function/http://adobe.com/AS3/2006/builtin::apply()
	at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]
	at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]</description>
		<content:encoded><![CDATA[<p>Any idea why i would get this error in the constructor of my subclassed version of PopupButtonDirectional:</p>
<p>If i remove this line the error goes away ==&gt; popUp = new Panel();</p>
<p>Error<br />
	at mx.managers::SystemManager/updateLastActiveForm()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:5087]<br />
	at mx.managers::SystemManager/activateForm()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2352]<br />
	at mx.managers::SystemManager/activate()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2307]<br />
	at mx.managers::FocusManager/creationCompleteHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\FocusManager.as:1592]<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]<br />
	at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]<br />
	at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]<br />
	at Function/http://adobe.com/AS3/2006/builtin::apply()<br />
	at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]<br />
	at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay Anand Mareddy</title>
		<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/#comment-89</link>
		<dc:creator>Vijay Anand Mareddy</dc:creator>
		<pubDate>Wed, 12 Nov 2008 16:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://shemesh.wordpress.com/?p=28#comment-89</guid>
		<description>myButton.setStyle(&quot;skin&quot;, null);

Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>myButton.setStyle(&#8220;skin&#8221;, null);</p>
<p>Thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shemesh</title>
		<link>http://shemesh.wordpress.com/2008/06/12/popupbutton-that-opens-in-all-directions/#comment-80</link>
		<dc:creator>shemesh</dc:creator>
		<pubDate>Tue, 09 Sep 2008 20:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://shemesh.wordpress.com/?p=28#comment-80</guid>
		<description>Vijay, tnx.
i suggest you use the button&#039;s skins to do what you want.
you can make your own skin thus making the button look like what needed.</description>
		<content:encoded><![CDATA[<p>Vijay, tnx.<br />
i suggest you use the button&#8217;s skins to do what you want.<br />
you can make your own skin thus making the button look like what needed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
