Telltarget Function - 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

Returns
- A string containing the target path of the specified object.
String
Example
The following example traces the target path of a movie clip as soon as it loads:
this.createEmptyMovieClip("myClip_mc", this.getNextHighestDepth());
trace(targetPath(myClip_mc)); // _level0.myClip_mc
See also
eval function

tellTarget function

tellTarget("target") { statement(s); }
Deprecated since Flash Player 5. Macromedia recommends that you use dot (.) notation and
the
statement.
with
Applies the instructions specified in the
the
parameter. The
target
to buttons that stop or start movie clips elsewhere on the Stage. You can also
tellTarget
make movie clips go to a particular frame in that clip. For example, you might assign
to buttons that stop or start movie clips on the Stage or prompt movie clips to
tellTarget
jump to a particular frame.
In Flash 5 or later, you can use dot (.) notation instead of the
the
action to issue multiple actions to the same Timeline. You can use the
with
target any object, whereas the
Availability: ActionScript 1.0; Flash Lite 1.0
Parameters
- A string that specifies the target path of the Timeline to be controlled.
target:String
statement(s):Object
statements
action is useful for navigation controls. Assign
tellTarget
action can target only movie clips.
tellTarget
- The instructions to execute if the condition is
parameter to the Timeline specified in
action. You can use
tellTarget
true
Global Functions
action to
with
.
87

Advertisement

Table of Contents
loading

Table of Contents