Thanks. Excellent advice. However, the "very simple Flash movie" was
just for illustration: my real problem is that I'm dealing with a legacy
project that worked fine in Flash 6, but no longer works now that I've
updated it to Flash 8. Changing all the TextFields to TextInputs may
involve rather more work. Still, I'll try it.

I'd also welcome any confirmation that this is a genuine Flash bug, so
if necessary I can tell my boss it's not my fault :-)

Andy

----- Original Message ----- 

Dont' use TextFields; use a TextInput or TextArea and style accordingly.

They have built-in focus & tab management just like buttons.

----- Original Message ----- 
From: "Andy Kirkham" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, April 26, 2006 12:56 PM
Subject: [Flashcoders] Problem with TextField.tabIndex



I have a very simple Flash 8 movie with two (UI component) buttons and
two input TextFields on the stage.

Automatic tabbing works fine, but if I try to change the tab order by
setting tabIndex on the four objects, thus...

Button1.tabIndex = 4;
text1.tabIndex = 3;
text2.tabIndex = 2;
Button2.tabIndex = 1;

...tabbing only works on the buttons and omits the text fields.

Thus it seems that setting tabIndex on any MovieClip-based instance will
disable tabbing on TextFields, even when the TextFields have tabIndex
set.

Can anyone suggest how to remedy this?

Andy Kirkham.


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to