Anyway

If you open the index.template.html that's stored in html-template you can
avoid that browser borring thing and will works.

Open it and add the following code
onLoad="window.document.${application}.focus();"
onkeydown="window.${application}.focus()"

into your <body > tag

It will works both in IE,FF, Safari


Regards
Igor Costa


On Sat, Sep 13, 2008 at 2:15 AM, Alex Harui <[EMAIL PROTECTED]> wrote:

>    That is a limitation of the browsers.  They control focus and a click
> is required.  Some folks have done extensive work to capture keystrokes in
> javascript and forward them to the player, but most folks simply put up some
> UI to encourage users to click on the app.
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *qiyadsy
> *Sent:* Friday, September 12, 2008 7:48 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] about keyboard operation in flex
>
>
>
> I want only use keyboard to operation in flex.
> Just as Global keyboard event
> handling(
> http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=304
> )
>
> But,have some problem ,it need click anywhere in the application and
> then press some keys.But i don't want click anywhere ,direct operate
> with keyboard.
>
> How I can deal it ? Thanks.
>
>   
>



-- 
----------------------------
Igor Costa
www.igorcosta.com
www.igorcosta.org

Reply via email to