Tabenabled (Button.tabenabled Property); Tabindex (Button.tabindex Property) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

tabEnabled (Button.tabEnabled property)

public tabEnabled :
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 Lite 2.0
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 :
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.
Boolean
is included in automatic tab ordering. It is
or
undefined
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
,
one_btn
. Although
tabIndex
Number
, the object is included in automatic tab
true
property for one of four buttons to
tabEnabled
,
two_btn
three_btn,
is set for
tabIndex
tabEnabled
,
tabEnabled (MovieClip.tabEnabled
undefined
tabIndex
tabIndex
by default.
undefined
and
) are placed
four_btn
,
three_btn
three_btn
is set to
for
false
tabIndex
by default.
property, automatic tab
properties of
tabIndex
Button
289

Advertisement

Table of Contents
loading

Table of Contents