Yes the focus is already on a textField and I deactivate the FocusManager which removes
the events form.systemManager.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); // stop listening for default button in Capture phase form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); and still when I press the tab key the focus in IE goes back to the address bar. thanks firdosh On 9/21/07, Alex Harui <[EMAIL PROTECTED]> wrote: > > I assume focus is already in the app somewhere? You might want to set > a breakpoint in FocusManager.keyDownHandler to see if it gets hit. In > theory it shouldn't if you blocked the way you showed here. > > > ------------------------------ > > *From:* [email protected] [mailto:flexcompone > [EMAIL PROTECTED] *On Behalf Of *Firdosh Tangri > *Sent:* Friday, September 21, 2007 2:27 PM > *To:* [email protected] > *Subject:* Re: [flexcomponents] Weird Focus Behavior In Internet Explorer > > > > > stage.addEventListener(KeyboardEvent.KEY_DOWN , > onCustomFocusManagemnt,false,100,false); > > and I called event. stopImmediatePropagation > > but still jumps back to the addressbar > > thanks > cheers > firdosh > > > On 9/21/07, *Alex Harui* <[EMAIL PROTECTED]> wrote: > > Flex has special handling of Tab when running in IE. Attach your listener > with high priority and call stopImmediatePropagation > > > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] > *On Behalf Of *Firdosh Tangri > *Sent:* Friday, September 21, 2007 1:56 PM > *To:* [email protected] > *Subject:* [flexcomponents] Weird Focus Behavior In Internet Explorer > > > > Hey all, > I have a event KeyBoardEvent registered with the stage object > which listens for the TAB key and then I do a customComponent.setFocus() > call . I works fine in firefox but in IE it jumps to the address bar > Has anyone else had this issue ?? > > thanks > cheers > firdosh > > > > >
