User Guide
686 Chapter 14: Properties
charSpacing
Usage
-- Lingo syntax
chunkExpression.charSpacing
// JavaScript syntax
chunkExpression.charSpacing;
Description
Text cast member property; enables specifying any additional spacing applied to each letter in the
chunkExpression portion of the text cast member.
A value less than 0 indicates less spacing between letters. A value greater than 0 indicates more
spacing between letters.
The default value is 0, which results in default spacing between letters.
Example
The following handler increases the current character spacing of the third through fifth words
within the text cast member myCaption by a value of 2:
--Lingo syntax
on myCharSpacer
mySpaceValue = member("myCaption").word[3..5].charSpacing
member("myCaption").word[3..5].charSpacing = (mySpaceValue + 2)
end
// JavaScript syntax
function myCharSpacer() {
var i = 3;
while (i < 6) {
var mySpaceValue = member("myCaption").getPropRef("word", i).charSpacing;
member("myCaption").getPropRef("word", i).charSpacing =
(mySpaceValue + 2);
}
}
checkMark
Usage
the checkMark of menuItem whichItem of menu whichMenu
Description
Menu item property; determines whether a check mark appears next to the custom menu item
(
TRUE) or not (FALSE, default).
The whichItem value can be either a menu item name or a menu item number. The whichMenu
value can be either a menu name or a menu number.
This property can be tested and set.
Note: Menus are not available in Shockwave Player.