tabEnabled (Button.tabEnabled property)
public tabEnabled : Boolean
Specifies whether
my_btn
If the
property is
tabEnabled
ordering. If the
tabIndex
ordering as well. If
tabEnabled
tab ordering, even if the
Availability: ActionScript 1.0; Flash Player 6
Example
The following ActionScript is used to set the
. However, all four buttons (
false
in a custom tab order using
is not included in a custom or automatic tab order because
that instance. To set the tab ordering for the four buttons, add the following ActionScript to
Frame 1 of the Timeline:
three_btn.tabEnabled = false;
two_btn.tabIndex = 1;
four_btn.tabIndex = 2;
three_btn.tabIndex = 3;
one_btn.tabIndex = 4;
Make sure that you disable keyboard shortcuts when you test the SWF file by selecting
Control > Disable Keyboard Shortcuts in the test environment.
See also
tabIndex (Button.tabIndex property)
,
property)
tabEnabled (TextField.tabEnabled property)
tabIndex (Button.tabIndex property)
public tabIndex : Number
Lets you customize the tab ordering of objects in a SWF file. You can set the
property on a button, movie clip, or text field instance; it is
If any currently displayed object in the SWF file contains a
ordering is disabled, and the tab ordering is calculated from the
objects in the SWF file. The custom tab ordering only includes objects that have
properties.
is included in automatic tab ordering. It is
or
undefined
true
property is also set to a value, the object is included in custom tab
is
, the object is not included in automatic or custom
false
property is set.
tabIndex
tabEnabled
,
one_btn
two_btn
. Although
tabIndex
,
tabEnabled (MovieClip.tabEnabled
undefined
, the object is included in automatic tab
property for one of four buttons to
,
and
three_btn,
is set for
tabIndex
three_btn
tabEnabled
undefined
property, automatic tab
tabIndex
tabIndex
by default.
) are placed
four_btn
,
three_btn
is set to
for
false
tabIndex
by default.
properties of
tabIndex
Button
371
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?