Target (Button._Target 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

The
property may be a non-negative integer. The objects are ordered according to
tabIndex
their
properties, in ascending order. An object with a
tabIndex
an object with a
tabIndex
that precedes the other in the tab ordering is
The custom tab ordering defined by the
attention is paid to the hierarchical relationships of objects in the SWF file. All objects in the
SWF file with
tabIndex
determined by the order of the
value, the one that goes first is
multiple objects.
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
tabEnabled (Button.tabEnabled property)
,
property)
tabEnabled (MovieClip.tabEnabled property)
(MovieClip.tabIndex property)

_target (Button._target property)

public _target :
Returns the target path of the button instance specified by
Availability: ActionScript 1.0; Flash Lite 2.0
290
ActionScript classes
value of
. If two objects have the same
2
tabIndex
properties are placed in the tab order, and the tab order is
tabIndex
undefined
one_btn
. Although
tabIndex
,
tabIndex (TextField.tabIndex property)
String
[read-only]
.
undefined
property is flat. This means that no
values. If two objects have the same
. You shouldnt use the same
property for one of four buttons to
tabEnabled
,
,
two_btn
three_btn,
is set for
tabIndex
tabEnabled
,
tabChildren (MovieClip.tabChildren
my_btn
value of
tabIndex
1
value, the one
tabIndex
tabIndex
value for
tabIndex
and
) are placed
four_btn
,
three_btn
three_btn
is set to
false
,
tabIndex
.
precedes
for

Advertisement

Table of Contents
loading

Table of Contents