targetPath
Availability
Flash Player 5.
Usage
targetpath(movieClipObject)
Parameters
movieClipObject
target path is being retrieved.
Returns
A string containing the target path of the specified movie clip.
Description
Function; returns a string containing the target path of
returned in dot notation. To retrieve the target path in slash notation, use the
Example
This example displays the target path of a movie clip as soon as it loads.
onClipEvent(load){
trace(targetPath(this));
}
See also
eval()
tellTarget
Availability
Flash Player 3. (Deprecated in Flash 5; use of dot notation and the
Usage
tellTarget("target") {
statement(s);
}
Parameters
A string that specifies the target path of the Timeline to be controlled.
target
statement(s)
Returns
Nothing.
678
Chapter 12: ActionScript Dictionary
Reference (for example,
The instructions to execute if the condition evaluates to
or
) to the movie clip for which the
_root
_parent
movieClipObject
with
. The target path is
property.
_target
action is recommended.)
.
true
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers