EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 773

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...
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;