MovieClip._target Property

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
MovieClip._target Property Flash 4

the target path of a clip or movie, in slash syntax read-only
mc._target

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 named 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 global targetPath( ) function. To convert the slash notation string into an object reference, use eval( ).

See Also

eval( ), targetPath( )



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net