Name

MovieClip._target Property — the target path of a clip or movie, in slash syntax

Availability

Flash 4 and later

Synopsis

mc._target

Access

Read-only

Description

The _target property represents the path to mc in a Flash 4-style slash notation string. For example, if a clip, ball, resides on the main movie timeline, ball’s _target property is "/ball". A clip, stripe, inside ball would have a _target of "/ball/stripe".

To retrieve a string giving the path to a clip in dot notation, use the targetPath( ) function.

See Also

targetPath( )

Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.