fixedLineSpace
773
firstIndent
Usage
-- Lingo syntax
chunkExpression.
firstIndent
// JavaScript syntax
chunkExpression.
firstIndent;
Description
Text cast member property; contains the number of pixels the first indent in
chunkExpression
is
offset from the left margin of the
chunkExpression
.
The value is an integer: less than 0 indicates a hanging indent, 0 is no indention, and greater than
0 is a normal indention.
This property can be tested and set.
Example
This statement sets the indent of the first line of member Desk to 0 pixels:
--Lingo syntax
member("Desk").firstIndent = 0
// JavaScript syntax
member("Desk").firstIndent = 0;
See also
leftIndent
,
rightIndent
fixedLineSpace
Usage
-- Lingo syntax
chunkExpression.
fixedLineSpace
// JavaScript syntax
chunkExpression.
fixedLineSpace;
Description
Text cast member property; controls the height of each line in the
chunkExpression
portion of
the text cast member.
The value itself is an integer, indicating height in absolute pixels of each line.
The default value is 0, which results in natural height of lines.
Example
This statement sets the height in pixels of each line of member Desk to 24:
--Lingo syntax
member("Desk").fixedLineSpace = 24
// JavaScript syntax
member("Desk").fixedLineSpace = 24;
Summary of Contents for DIRECTOR MX 2004
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...