<?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: Onscreen Keyboard with AIR</title>
	<atom:link href="http://www.indieas.org/2009/11/onscreen-keyboard-with-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.indieas.org/2009/11/onscreen-keyboard-with-air/</link>
	<description>independent actionscript developer team</description>
	<lastBuildDate>Wed, 23 Nov 2011 01:42:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: roman</title>
		<link>http://www.indieas.org/2009/11/onscreen-keyboard-with-air/comment-page-1/#comment-203</link>
		<dc:creator>roman</dc:creator>
		<pubDate>Wed, 23 Nov 2011 01:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.indieas.org/?p=158#comment-203</guid>
		<description>i&#039;d help anyone who stumbles on this problem, event if you find it a year from now

roman@maxsave.co.il</description>
		<content:encoded><![CDATA[<p>i&#8217;d help anyone who stumbles on this problem, event if you find it a year from now</p>
<p><a href="mailto:roman@maxsave.co.il">roman@maxsave.co.il</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roman</title>
		<link>http://www.indieas.org/2009/11/onscreen-keyboard-with-air/comment-page-1/#comment-202</link>
		<dc:creator>roman</dc:creator>
		<pubDate>Wed, 23 Nov 2011 01:39:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.indieas.org/?p=158#comment-202</guid>
		<description>I DID IT! :)

hopefully this will help the next one who finds this through google:

in com.facebook.graph.windows.AbstractWindow.as:

need to add:

public static var focusChangeFunction:Function;

and to the handleHtmlDomInit() (triggers on  Event.HTML_DOM_INITIALIZE): 

&lt;code&gt;html.window.addEventListener( &quot;focus&quot;, onJavaScriptFocusIn, true );&lt;/code&gt;

when onJavaScriptFocusIn changed to:

&lt;code&gt;protected function onJavaScriptFocusIn( event:Object ):void {
		if( event.target.localName == &quot;input&quot; &#124;&#124; event.target.localName ==&quot;textarea&quot; ) {
				focusChangeFunction(html.window.document.activeElement);
		}
}&lt;/code&gt;

------------------------------------------

in your project, import com.facebook.graph.windows.AbstractWindow and:

&lt;code&gt;import com.facebook.graph.windows.AbstractWindow;

private var focusedBox:Object = null;

AbstractWindow.focusChangeFunction = function(obj:Object)
{
	focusedBox = obj;
}&lt;/code&gt;


modify:

&lt;code&gt; function onMouseFocus( fe:FocusEvent ):void {
	if( fe.relatedObject is Key &#124;&#124; fe.relatedObject is ScreenBoard ) 
       {
             fe.preventDefault();
       }
	else focusedBox = null;
}&lt;/code&gt;



everything else stays basicaly the same, instead of using webView.focus just use focusedBox. 


thank you again mich!!!!</description>
		<content:encoded><![CDATA[<p>I DID IT! <img src='http://www.indieas.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>hopefully this will help the next one who finds this through google:</p>
<p>in com.facebook.graph.windows.AbstractWindow.as:</p>
<p>need to add:</p>
<p>public static var focusChangeFunction:Function;</p>
<p>and to the handleHtmlDomInit() (triggers on  Event.HTML_DOM_INITIALIZE): </p>
<p><code>html.window.addEventListener( "focus", onJavaScriptFocusIn, true );</code></p>
<p>when onJavaScriptFocusIn changed to:</p>
<p><code>protected function onJavaScriptFocusIn( event:Object ):void {<br />
		if( event.target.localName == "input" || event.target.localName =="textarea" ) {<br />
				focusChangeFunction(html.window.document.activeElement);<br />
		}<br />
}</code></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>in your project, import com.facebook.graph.windows.AbstractWindow and:</p>
<p><code>import com.facebook.graph.windows.AbstractWindow;</p>
<p>private var focusedBox:Object = null;</p>
<p>AbstractWindow.focusChangeFunction = function(obj:Object)<br />
{<br />
	focusedBox = obj;<br />
}</code></p>
<p>modify:</p>
<p><code> function onMouseFocus( fe:FocusEvent ):void {<br />
	if( fe.relatedObject is Key || fe.relatedObject is ScreenBoard )<br />
       {<br />
             fe.preventDefault();<br />
       }<br />
	else focusedBox = null;<br />
}</code></p>
<p>everything else stays basicaly the same, instead of using webView.focus just use focusedBox. </p>
<p>thank you again mich!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roman</title>
		<link>http://www.indieas.org/2009/11/onscreen-keyboard-with-air/comment-page-1/#comment-200</link>
		<dc:creator>roman</dc:creator>
		<pubDate>Tue, 22 Nov 2011 23:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.indieas.org/?p=158#comment-200</guid>
		<description>Hellow mich.
To be honest i&#039;ve lost any hope trying to find exectly that example.

i&#039;m building Air desktop app&#039; that will be in a tuch-screen kiosk, basicaly a user creats a custumized picture after taking a snapshot with the buitin camera and uploads it to his facebook.

i&#039;ve come as far as creating a custumized keyboard with a software, much like microsofts on screen keyboard and lunching it as a process throught air when the login dialog appears, then turning it of when login finished/canceled.
- bad idia

im developing with flash cs and the htmlloader is created and lunched through the facebook&#039;s api, i&#039;ve already modified most of it to prevent unwanted user interaction.

I hope i&#039;d be able to reverse-engeener you example and implent it because it&#039;s basicaly the last issue I have in this project.

thank you!</description>
		<content:encoded><![CDATA[<p>Hellow mich.<br />
To be honest i&#8217;ve lost any hope trying to find exectly that example.</p>
<p>i&#8217;m building Air desktop app&#8217; that will be in a tuch-screen kiosk, basicaly a user creats a custumized picture after taking a snapshot with the buitin camera and uploads it to his facebook.</p>
<p>i&#8217;ve come as far as creating a custumized keyboard with a software, much like microsofts on screen keyboard and lunching it as a process throught air when the login dialog appears, then turning it of when login finished/canceled.<br />
- bad idia</p>
<p>im developing with flash cs and the htmlloader is created and lunched through the facebook&#8217;s api, i&#8217;ve already modified most of it to prevent unwanted user interaction.</p>
<p>I hope i&#8217;d be able to reverse-engeener you example and implent it because it&#8217;s basicaly the last issue I have in this project.</p>
<p>thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mich</title>
		<link>http://www.indieas.org/2009/11/onscreen-keyboard-with-air/comment-page-1/#comment-192</link>
		<dc:creator>mich</dc:creator>
		<pubDate>Mon, 08 Aug 2011 08:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.indieas.org/?p=158#comment-192</guid>
		<description>hi nim,

to know when a user clicks on an inputfield/textarea you have to register a function to the &quot;focus&quot; event of javascript like this:
&lt;code&gt;webView.window.addEventListener( &quot;focus&quot;, onJavaScriptFocusIn, true );&lt;/code&gt;
That will call the &lt;em&gt;onJavaScriptFocusIn&lt;/em&gt; function when the user clicks on an element that can get a focus.
have a look on the last code snippet in the article where i listen to the &lt;em&gt;focus &lt;/em&gt;and &lt;em&gt;blur &lt;/em&gt; event to know when the webview got or loses the focus on something.</description>
		<content:encoded><![CDATA[<p>hi nim,</p>
<p>to know when a user clicks on an inputfield/textarea you have to register a function to the &#8220;focus&#8221; event of javascript like this:<br />
<code>webView.window.addEventListener( "focus", onJavaScriptFocusIn, true );</code><br />
That will call the <em>onJavaScriptFocusIn</em> function when the user clicks on an element that can get a focus.<br />
have a look on the last code snippet in the article where i listen to the <em>focus </em>and <em>blur </em> event to know when the webview got or loses the focus on something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nim</title>
		<link>http://www.indieas.org/2009/11/onscreen-keyboard-with-air/comment-page-1/#comment-191</link>
		<dc:creator>Nim</dc:creator>
		<pubDate>Fri, 05 Aug 2011 04:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.indieas.org/?p=158#comment-191</guid>
		<description>I have i try but cannot handle input text field of an html object.
My air app is an desktop touch app with a virtual keyboard, i call an Facebook login and how do i know when a user clicks and inputfield/textarea of facebook login page to show my Keyboard.
Is it can or cannot?
Please help!</description>
		<content:encoded><![CDATA[<p>I have i try but cannot handle input text field of an html object.<br />
My air app is an desktop touch app with a virtual keyboard, i call an Facebook login and how do i know when a user clicks and inputfield/textarea of facebook login page to show my Keyboard.<br />
Is it can or cannot?<br />
Please help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mich</title>
		<link>http://www.indieas.org/2009/11/onscreen-keyboard-with-air/comment-page-1/#comment-62</link>
		<dc:creator>mich</dc:creator>
		<pubDate>Tue, 29 Jun 2010 06:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.indieas.org/?p=158#comment-62</guid>
		<description>Hi paddy,

Your main problem is that your air/java app that is started out of the browser should communicate with firefox which is as far as i know not possible. also to start the external app it is not possible without a bunch of confirmation boxes. you probably should choose a different approach:
start an air/java app, that can display webpages. in air for example that would be the &lt;a href=&quot;http://airexamples.com/2009/01/03/displaying-web-pages-in-an-html-control-in-an-adobe-air-application/&quot; rel=&quot;nofollow&quot;&gt;html control&lt;/a&gt;.

If you need the firefox browser, you probably stick with some of the &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/146341/&quot; rel=&quot;nofollow&quot;&gt;plugins&lt;/a&gt;...
This way you dont need to code.

let me know which way you choose.</description>
		<content:encoded><![CDATA[<p>Hi paddy,</p>
<p>Your main problem is that your air/java app that is started out of the browser should communicate with firefox which is as far as i know not possible. also to start the external app it is not possible without a bunch of confirmation boxes. you probably should choose a different approach:<br />
start an air/java app, that can display webpages. in air for example that would be the <a href="http://airexamples.com/2009/01/03/displaying-web-pages-in-an-html-control-in-an-adobe-air-application/" rel="nofollow">html control</a>.</p>
<p>If you need the firefox browser, you probably stick with some of the <a href="https://addons.mozilla.org/en-US/firefox/addon/146341/" rel="nofollow">plugins</a>&#8230;<br />
This way you dont need to code.</p>
<p>let me know which way you choose.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paddy Haig</title>
		<link>http://www.indieas.org/2009/11/onscreen-keyboard-with-air/comment-page-1/#comment-61</link>
		<dc:creator>Paddy Haig</dc:creator>
		<pubDate>Tue, 29 Jun 2010 04:04:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.indieas.org/?p=158#comment-61</guid>
		<description>Hi mich, I have looked high and low for a virtual keyboard that may suit my needs and cannot seem to find anything. I cannot believe the is nothing out there. What I am trying to develop is a kiosk type application that is run within a browser session. e.g. If you were to open up Firefox and hit the F11 key for full screen, Then click on a link on a web form interface that would bring up a virtual keyboard filling the lower third of the screen using Flash or Flash/Air or Java. This would then be used in touch screen kiosk mode. I want it in a browser session so that it is consistent across all operating systems. Again it&#039;s for a touch screen kiosk using web/php forms running through a web browser.</description>
		<content:encoded><![CDATA[<p>Hi mich, I have looked high and low for a virtual keyboard that may suit my needs and cannot seem to find anything. I cannot believe the is nothing out there. What I am trying to develop is a kiosk type application that is run within a browser session. e.g. If you were to open up Firefox and hit the F11 key for full screen, Then click on a link on a web form interface that would bring up a virtual keyboard filling the lower third of the screen using Flash or Flash/Air or Java. This would then be used in touch screen kiosk mode. I want it in a browser session so that it is consistent across all operating systems. Again it&#8217;s for a touch screen kiosk using web/php forms running through a web browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mich</title>
		<link>http://www.indieas.org/2009/11/onscreen-keyboard-with-air/comment-page-1/#comment-58</link>
		<dc:creator>mich</dc:creator>
		<pubDate>Mon, 17 May 2010 07:18:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.indieas.org/?p=158#comment-58</guid>
		<description>hi paddy
in a way it is - but it runs as an &lt;a href=&quot;http://www.adobe.com/products/air/&quot; rel=&quot;nofollow&quot;&gt;air application&lt;/a&gt; so the keyboard is build with flash and then uses the browser that comes with the adobe air runtime.

if i get your idea right you want a keyboard that runs inside any browser?
then you probably build better a frameset and search for a virtual javascript keyboard if this exists...

how you do this also depends on the os you are working with..

feel free to ask if you need more infos.</description>
		<content:encoded><![CDATA[<p>hi paddy<br />
in a way it is &#8211; but it runs as an <a href="http://www.adobe.com/products/air/" rel="nofollow">air application</a> so the keyboard is build with flash and then uses the browser that comes with the adobe air runtime.</p>
<p>if i get your idea right you want a keyboard that runs inside any browser?<br />
then you probably build better a frameset and search for a virtual javascript keyboard if this exists&#8230;</p>
<p>how you do this also depends on the os you are working with..</p>
<p>feel free to ask if you need more infos.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paddy</title>
		<link>http://www.indieas.org/2009/11/onscreen-keyboard-with-air/comment-page-1/#comment-57</link>
		<dc:creator>Paddy</dc:creator>
		<pubDate>Sun, 16 May 2010 14:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.indieas.org/?p=158#comment-57</guid>
		<description>I am trying to develop a small personal interface that uses a touch screen. I have been looking for a virtual keyboard that is web based. That I can load from a webpage. Is that what your above keyboard does?</description>
		<content:encoded><![CDATA[<p>I am trying to develop a small personal interface that uses a touch screen. I have been looking for a virtual keyboard that is web based. That I can load from a webpage. Is that what your above keyboard does?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

