May 2001
Intermediate to advanced
720 pages
23h 24m
English
MovieClip.valueOf( ) Method — the path of a clip or movie, as a string
Flash 5
mc.valueOf( )
A string containing the full path to mc,
using dot syntax. For example:
"_level1.ball" "_level0" "_level0.shoppingcart.product1"
The valueOf( ) method returns a string
representing the absolute path to mc using
dot syntax notation. The valueOf( ) method is
automatically invoked whenever a MovieClip
object is used where a string is called for. For example,
trace(
mc
)
will generate the same result as
trace(
mc
.valueOf( )). It is, therefore, rarely necessary to invoke
valueOf( ) explicitly.
Object.valueOf( ), targetPath(
)
Read now
Unlock full access