247
To see an example of
font
used in a completed movie, see the Text movie in the Learning/Lingo
Examples folder inside the Director application folder.
Example
This statement sets the variable named
oldFont
to the current
font
setting for the field cast
member Rokujo Speaks:
oldFont = member("Rokujo Speaks").font
See also
text
,
alignment
,
fontSize
,
fontStyle
,
lineHeight (cast member property)
fontSize
Syntax
member(
whichCastMember
)
.
fontSize
the fontSize of member
whichCastMember
Description
Field cast member property; determines the size of the font used to display the specified field cast
member and requires that the cast member contain characters, if only a space. The parameter
whichCastMember
can be either a cast member name or number.
This property can be tested and set. When tested, it returns the height of the first line in the field.
When set, it affects every line in the field.
To see an example of
fontSize
used in a completed movie, see the Text movie in the Learning/
Lingo Examples folder inside the Director application folder.
Examples
This statement sets the variable named
oldSize
to the current
fontSize of member
setting for
the field cast member Rokujo Speaks:
oldSize = member("Rokujo Speaks").fontSize
This statement sets the third line of the text cast member myMenu to 24 points:
member("myMenu").fontSize = 12
See also
text
,
alignment
,
font
,
fontStyle
,
lineHeight (cast member property)
fontStyle
Syntax
member(
whichCastMember
)
.
fontStyle
the fontStyle of member
whichCastMember
member(
whichCastMember
)
.
char[
whichChar
]
.
fontStyle
the fontStyle of char
whichChar
member(
whichCastMember
)
.
word[
whichWord
]
.
fontStyle
the fontStyle of word
whichWord
member(
whichCastMember
)
.
line[
whichLine
]
.
fontStyle
the fontStyle of line
whichLine
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...