MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual page 177

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

Formatting text with Lingo or JavaScript syntax
Lingo or JavaScript syntax can format text in an entire cast member or any specific chunk of text.
Use the following properties:
To select or identify a chunk of text in a field cast member, use the
member properties. These properties identify the first and last characters of a text selection.
To refer to a selected chunk of text, use the
To specify the font for a text cast member, field cast member, or chunk expression, set the
cast member property.
To specify the character size for a text cast member, field cast member, or chunk expression, set
the
fontSize
To specify the line spacing for a field cast member, set the
To specify the style for a text cast member, field cast member, or chunk expression, set the
property.
fontStyle
To specify the drop shadow size for the characters in a field cast member, set the
boxDropShadow
To specify additional spacing to be applied to a chunk expression in a text cast member, set the
charSpacing
To specify the foreground color for a field cast member, set the
For more information about these properties, see the Scripting Reference topics in the Director
Help Panel.
Applying paragraph formats with Lingo or JavaScript syntax
Lingo or JavaScript syntax can control paragraph formatting such as alignment and indenting for
a chunk expression:
To set text alignment for a text or field cast member, set the
To set line spacing in points for a text cast member, set the
To add pixels below paragraphs in a text cast member, set the
To add pixels above paragraphs in a text cast member, set the
To specify line spacing in a field cast member, set the
To add pixels to the first indent in a chunk expression in a text cast member, set the
firstIndent
To set the left indent (in pixels) of a chunk expression in a text cast member, set the
property.
leftIndent
To set the right indent (in pixels) of a chunk expression in a text cast member, set the
rightIndent
To specify or obtain a list of tabs that are in a chunk expression in a text cast member, set or test
the
property.
tabs
For more information about these properties, see the Scripting Reference topics in the Director
Help Panel.
property.
property.
property.
property.
property.
Formatting chunks of text with Lingo or JavaScript syntax
cast member property.
selection
lineHeight
foreColor
alignment
fixedLineSpace
bottomSpacing
topSpacing
lineHeight
and
selStart
selEnd
property.
property.
property.
property.
property.
property.
property.
cast
font
177

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?

This manual is also suitable for:

Director mx 2004

Table of Contents