<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Closing a pop up window using the keyboard in Flex</title>
	<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Thu, 08 Jan 2009 13:25:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-16779</link>
		<author>peterd</author>
		<pubDate>Tue, 18 Nov 2008 14:59:38 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-16779</guid>
		<description>&lt;a href="http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-16778" rel="nofollow"&gt;flex-newbie&lt;/a&gt;,

I'd try using the &lt;code&gt;focusIn&lt;/code&gt; and &lt;code&gt;focusOut&lt;/code&gt; methods on the form field.

Peter</description>
		<content:encoded><![CDATA[<p><a href="http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-16778" rel="nofollow">flex-newbie</a>,</p>
<p>I&#8217;d try using the <code>focusIn</code> and <code>focusOut</code> methods on the form field.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flex-newbie</title>
		<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-16778</link>
		<author>flex-newbie</author>
		<pubDate>Tue, 18 Nov 2008 14:34:37 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-16778</guid>
		<description>Pete,

thanks for all the example and it really helps.

how do I make a popup help window which contains some help information on a particular field, but closes automatically when user clicks the mouse some other fields.  More or less like google maps balloon type functionality.

I was not able to find a way to catch the mouse event anywhere else functionality in flex.
Do you have an example for it.
thanks</description>
		<content:encoded><![CDATA[<p>Pete,</p>
<p>thanks for all the example and it really helps.</p>
<p>how do I make a popup help window which contains some help information on a particular field, but closes automatically when user clicks the mouse some other fields.  More or less like google maps balloon type functionality.</p>
<p>I was not able to find a way to catch the mouse event anywhere else functionality in flex.<br />
Do you have an example for it.<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhilash</title>
		<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-16767</link>
		<author>Abhilash</author>
		<pubDate>Tue, 18 Nov 2008 05:53:29 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-16767</guid>
		<description>I have a form designed using Flex. The form does not fit the screen area and hence I am having scroll bars in it. When we click on some of the controls in the form, we open popups. But when the popup is opened, if we scroll the form using the form scroll bar then the popup is not getting scrolled. I want the popup to be scrolled along with the form elements. Please let me know how this can be done.

Thanks

Abhilash</description>
		<content:encoded><![CDATA[<p>I have a form designed using Flex. The form does not fit the screen area and hence I am having scroll bars in it. When we click on some of the controls in the form, we open popups. But when the popup is opened, if we scroll the form using the form scroll bar then the popup is not getting scrolled. I want the popup to be scrolled along with the form elements. Please let me know how this can be done.</p>
<p>Thanks</p>
<p>Abhilash</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Hustler</title>
		<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14665</link>
		<author>Web Hustler</author>
		<pubDate>Wed, 13 Aug 2008 09:56:50 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14665</guid>
		<description>Works on my Mac Safari.</description>
		<content:encoded><![CDATA[<p>Works on my Mac Safari.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dylan</title>
		<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14564</link>
		<author>Dylan</author>
		<pubDate>Fri, 08 Aug 2008 19:48:48 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14564</guid>
		<description>Once the focus is taken away from the Flash you can't regain focus by simply clicking the within the swf.  Instead you have to click into a component that is properly set to accepts click events like a button or input field.  You probably could somehow set the Application to test for mouse events in the case of the screen being disabled by an Alert window.  In this case everything is disabled except for the close button so the close button is the only item that can.  This is working about as well as it can.  In a real app you would being doing things like Ctrl+S to intiate a save function and there will be plenty of things to click to get focus back.

This approach works for me with XP on IE 7 and Firefox 2.</description>
		<content:encoded><![CDATA[<p>Once the focus is taken away from the Flash you can&#8217;t regain focus by simply clicking the within the swf.  Instead you have to click into a component that is properly set to accepts click events like a button or input field.  You probably could somehow set the Application to test for mouse events in the case of the screen being disabled by an Alert window.  In this case everything is disabled except for the close button so the close button is the only item that can.  This is working about as well as it can.  In a real app you would being doing things like Ctrl+S to intiate a save function and there will be plenty of things to click to get focus back.</p>
<p>This approach works for me with XP on IE 7 and Firefox 2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14523</link>
		<author>Andrew</author>
		<pubDate>Wed, 06 Aug 2008 21:07:35 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14523</guid>
		<description>Actually, it works.  I am retarded.  Didn't set focus on my component so I guess it wasn't receiving keyboard events.</description>
		<content:encoded><![CDATA[<p>Actually, it works.  I am retarded.  Didn&#8217;t set focus on my component so I guess it wasn&#8217;t receiving keyboard events.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14522</link>
		<author>Andrew</author>
		<pubDate>Wed, 06 Aug 2008 20:53:51 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14522</guid>
		<description>Does work for me on mac 10.5.4
Fla: 9,0,115,0 installed
Safari: 3.1.2 

I though my move to flex was supposed to remove this cross browser hell.</description>
		<content:encoded><![CDATA[<p>Does work for me on mac 10.5.4<br />
Fla: 9,0,115,0 installed<br />
Safari: 3.1.2 </p>
<p>I though my move to flex was supposed to remove this cross browser hell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blenjar</title>
		<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14498</link>
		<author>Blenjar</author>
		<pubDate>Tue, 05 Aug 2008 19:01:28 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14498</guid>
		<description>Hey I need help figuring out how to retrieve data from an .XML file. can you point me to the right example?

thx in advance.</description>
		<content:encoded><![CDATA[<p>Hey I need help figuring out how to retrieve data from an .XML file. can you point me to the right example?</p>
<p>thx in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tejas Sanghavi</title>
		<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14486</link>
		<author>Tejas Sanghavi</author>
		<pubDate>Tue, 05 Aug 2008 04:49:21 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14486</guid>
		<description>Hi Peter,

The escape does not weem to work on IE7 after clicking anywhere on the screen, inside or outside the window.</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>The escape does not weem to work on IE7 after clicking anywhere on the screen, inside or outside the window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bug？</title>
		<link>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14481</link>
		<author>Bug？</author>
		<pubDate>Tue, 05 Aug 2008 00:01:39 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/closing-a-pop-up-window-using-the-keyboard-in-flex/#comment-14481</guid>
		<description>When I have fouce on the pop up windows and I press esc,nothing happened?</description>
		<content:encoded><![CDATA[<p>When I have fouce on the pop up windows and I press esc,nothing happened?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
