
targetPath() Global Function
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
823
By default, most Japanese Windows computers use code page CP932 (Windows Shift-JIS).
Mappings from CP932 to Unicode can be found at:
http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/
CP932.TXT
The complete list of Windows code pages is available at:
http://www.microsoft.com/globaldev/reference/WinCP.asp
For a partial list of code pages used by other vendors see:
http://czyborra.com/charsets/codepages.html
For more information on Unicode in Flash, see “Character Encoding” in Chapter 4.
See Also
“The String Type,” in Chapter 4
targetPath() Global Function
the absolute path to a movie or movie clip
Flash 5
targetPath (movieClip)
Arguments
movieClip A reference to a movie clip object.
Returns
A string representing the path to movieClip in absolute terms, using dot notation (e.g.,
"_level0.myMovie").
Description
The targetPath() function returns a movie clip’s reference as a string that describes the
absolute path to the clip (identical to the return value of MovieClip.valueOf()). The
targetPath() function sometimes is used to compose placement-sensitive code that oper-
ates on a movie clip, relative to the timeline upon which the clip resides. To retrieve the
slash-notation path to a movie clip (rather than targetPath()