flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [BASE64] Re: Odd tab/focus behavior
Date Fri, 21 Aug 2015 22:40:04 GMT
It could be that that particular AIR window isn’t activated or the
FocusManager doesn’t think it is activated.  There are Event.ACTIVATE and
Event.DEACTIVATE that go to each window and FocusManager is listening to
those events.


On 8/21/15, 3:12 PM, "Dave Glasser" <dglasser@pobox.com> wrote:

>It's a desktop AIR app, Alex. It's in a spark.components.Window spawned
>off the main application window, opened with  .open(true). And if I click
>the native window's titlebar before I type, it's no help either.
>      From: Alex Harui <aharui@adobe.com>
> To: "users@flex.apache.org" <users@flex.apache.org>; Dave Glasser
> Sent: Friday, August 21, 2015 5:23 PM
> Subject: [BASE64] Re: Odd tab/focus behavior
>Sounds like the browser hasn’t activated the SWF?  Maybe SWFObject no
>longer works properly on certain browsers?
>On 8/21/15, 2:10 PM, "Dave Glasser" <dglasser@pobox.com> wrote:
>>I'm using Flex 4.13.0, on the AIR 14.something platform. I have a login
>>dialog, that has username/password fields (both mx.controls.TextInput)
>>that are in a VBox in a Panel that was popped up by the PopUpManager.
>>Inside a handler for its creationComplete event, I am focusing the
>>username field like this:
>>and I've also tried
>>When the dialog first appears, the cursor is blinking inside the username
>>field and it has the focus rectangle, as you'd expect. When I type in a
>>username, the letters appear in the field as expected.
>>The problem is that the first time I hit the tab key, nothing happens.
>>Maybe the cursor inside the field flickers but that's it. And if I hit
>>the tab key a second time, it behaves as expected, with the focus moving
>>to the password field.
>>If, before I hit the tab key the first time, I click inside the text
>>field with the mouse, then the first tab keystroke shifts the focus as
>>Has anyone encountered this before?

View raw message