EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 833

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...
lineHeight 833
lineDirection
Usage
member(whichCastMember).lineDirection
Description
Shape member property; this property contains a 0 or 1 indicating the slope of the line drawn.
If the line is inclined from left to right, the property is set to 1; and if it is declined from left to
right, the property is set to 0.
This property can be tested and set.
Example
This handler toggles the slope of the line in cast member “theLine”, producing a see-saw effect:
on seeSaw
member("theLine").lineDirection = \
not member("theLine").lineDirection
end
lineHeight
Usage
member(whichCastMember).lineHeight
the lineHeight of member whichCastMember
Description
Cast member property; determines the line spacing used to display the specified field cast
member. The parameter
whichCastMember can be either a cast member name or number.
Setting the
lineHeight member property temporarily overrides the system’s setting until the
movie closes. To use the desired line spacing throughout a movie, set the
lineHeight member
property in an
on prepareMovie handler.
This property can be tested and set.
Example
This statement sets the variable oldHeight to the current lineHeight setting for the field cast
member Rokujo Speaks:
oldHeight = member("Rokujo Speaks").lineHeight
See also
text, alignment, font, fontSize, fontStyle