EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 817

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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