EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Target (Movieclip._Target Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MovieClip 931
The tabIndex property must be a positive integer. The objects are ordered according to their
tabIndex properties, in ascending order. An object with a tabIndex value of 1 precedes an
object with a
tabIndex value of 2. The custom tab ordering disregards the hierarchical
relationships of objects in a SWF file. All objects in the SWF file with
tabIndex properties
are placed in the tab order. Do not use the same
tabIndex value for multiple objects.
Availability: ActionScript 1.0; Flash Player 6
Example
The following ActionScript sets a custom tab order for three movie clip instances.
myMC1_mc.onRelease = function() {};
myMC2_mc.onRelease = function() {};
myMC3_mc.onRelease = function() {};
myMC1_mc.tabIndex = 2;
myMC2_mc.tabIndex = 1;
myMC3_mc.tabIndex = 3;
See also
tabIndex (Button.tabIndex property), tabIndex (TextField.tabIndex property)
_target (MovieClip._target property)
public _target : String [read-only]
Returns the target path of the movie clip instance, in slash notation. Use the eval() function
to convert the target path to dot notation.
Availability: ActionScript 1.0; Flash Player 4
Example
The following example displays the target paths of movie clip instances in a SWF file, in both
slash and dot notation.
for (var i in this) {
if (typeof (this[i]) == "movieclip") {
trace("name: " + this[i]._name + ",\t target: " + this[i]._target + ",\t
target(2):"
+ eval(this[i]._target));
}
}

Table of Contents

Related product manuals