MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual page 215

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

Advertisement

autoSize
indicates how the label sizes and aligns to fit the text. The default value is none. The
parameter can be any of the following four values:
none—the label doesn't resize or align to fit the text.
left—the right and bottom sides of the label resize to fit the text. The left and top sides
don't resize.
center—the bottom side of the label resizes to fit the text. The horizontal center of the label
stays anchored at the its original horizontal center position.
right—the left and bottom sides of the label resize to fit the text. The top and right side
don't resize.
Using styles with the Label component
You can set style properties to change the appearance of a label instance. All text in a Label
component instance must share the same style. For example, you can't set the
for one word in a label and to
"blue"
If the name of a style property ends in "Color", it is a color style property and behaves differently
than non-color style properties. A Label component supports the following styles:
Style
color
embedFonts
fontFamily
fontSize
fontStyle
fontWeight
textAlign
textDecoration
Property summary for the Label class
Property
Label.autoSize
Label.html
Label.text
"red"
Description
The default color for text.
The fonts to embed in the document.
The font name for text.
The point size for the font.
The font style, either "normal",or "italic".
The font weight, either "normal" or "bold".
The text alignment: either "left", "right", or "center".
The text decoration, either "none" or "underline".
Description
A string that indicates how a label sizes and aligns to fit the value of its
property. There are four possible values:
The default value is
"none"
A Boolean value that indicates whether a label can be formatted with HTML (
or not (
).
false
The text on the label.
for the second word in the same label.
,
"none"
"left"
.
style to
color
text
,
, and
"center"
"right"
true
Label component
.
)
215

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?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents