Target (Textfield._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 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 dynamically creates four text fields and assigns them to a custom
tab order. Add the following ActionScript to your FLA or ActionScript file:
this.createTextField("one_txt", this.getNextHighestDepth(), 10, 10, 100,
22);
one_txt.border = true;
one_txt.type = "input";
this.createTextField("two_txt", this.getNextHighestDepth(), 10, 40, 100,
22);
two_txt.border = true;
two_txt.type = "input";
this.createTextField("three_txt", this.getNextHighestDepth(), 10, 70, 100,
22);
three_txt.border = true;
three_txt.type = "input";
this.createTextField("four_txt", this.getNextHighestDepth(), 10, 100, 100,
22);
four_txt.border = true;
four_txt.type = "input";
one_txt.tabIndex = 3;
two_txt.tabIndex = 1;
three_txt.tabIndex = 2;
four_txt.tabIndex = 4;
See also
tabIndex (Button.tabIndex property)

_target (TextField._target property)

public _target :
The target path of the text field instance. The
current window,
_blank
frame, and
specifies the top-level frame in the current window.
_top
Availability: ActionScript 1.0; Flash Lite 2.0
tabIndex
properties are placed in the tab order, and the tab order is
tabIndex
undefined
String
[read-only]
specifies a new window,
property is flat. This means that no
values. If two objects have the same
. You should not use the same
,
tabIndex (MovieClip.tabIndex property)
target specifies the current frame in the
_self
specifies the parent of the current
_parent
tabIndex
value for
tabIndex
TextField
685

Advertisement

Table of Contents
loading

Table of Contents