all groups > flash (macromedia) > february 2007 >
You're in the

flash (macromedia)

group:

White boxes appearing on tab key press


White boxes appearing on tab key press dscriv
2/15/2007 9:34:39 PM
flash (macromedia):
Hello,

I have an application in which I attach two text fields at run-time and set
them up as input fields - for a User Id and Password. It is natural for the
users to want to tab from User Id to Password.

However, when I press the tab key, a strange thing happens. The focus _does_
shift from the first textbox to the second - but at the same time a white box
with a black border appears in the top left of the containing MovieClip,
obscuring part of my form. If I press the tab key again, the white box moves
instead in the top left of the root MovieClip.

Elsewhere in my application I am doing a similar thing, and not suffering from
this problem (at least until I have tabbed past all my textboxes, at which
point the white box does appear on the root).

I don't know if it's relevant, but in the case where the problem does not
occur, my text boxes are being highlighted with a green border when they
receive the focus through tabbing. In the case where I have the problem with
the white box, this focus border is not appearing.

This does not seem to be a problem with tabIndex settings, as the focus is
actually moving as expected - I am just getting this additional white box. The
box appears to be approximately 90 pixels square with a 1 pixel black border.

Any help much appreciated!
Re: White boxes appearing on tab key press dscriv
2/25/2007 4:35:48 PM
AddThis Social Bookmark Button