kerning
817
itemDelimiter
Usage
the itemDelimiter
Description
Player property; indicates the special character used to separate items.
You can use the
itemDelimiter
to parse filenames by setting
itemDelimiter
to a backslash (\)
in Windows or a colon (:) on the Macintosh. Restore the
itemDelimiter
character to a comma
(,) for normal operation.
This function can be tested and set.
Example
The following handler finds the last component in a Macintosh pathname. The handler first
records the current delimiter and then changes the delimiter to a colon (:). When a colon is the
delimiter, Lingo can use
the last item of
to determine the last item in the chunk that makes
up a Macintosh pathname. Before exiting, the delimiter is reset to its original value.
on getLastComponent pathName
save = the itemDelimiter
the itemDelimiter = ":"
f = the last item of pathName
the itemDelimiter = save
return f
end
See also
Player
kerning
Usage
-- Lingo syntax
memberObjRef.
kerning
// JavaScript syntax
memberObjRef.
kerning;
Description
Text cast member property; this property specifies whether the text is automatically kerned when
the contents of the text cast member are changed.
When set to
TRUE
, kerning is automatic; when set to
FALSE
, kerning is not done.
This property defaults to
TRUE
.
See also
kerningThreshold
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...