MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 744

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Using styles with the TextInput component
The TextInput component has its
on a class style declaration. Class styles override global styles; therefore, if you want to set the
backgroundColor
declaration or define it on the instance.
A TextInput component supports the following styles:
Style
backgroundColor
border styles
marginLeft
marginRight
color
disabledColor
embedFonts
fontFamily
fontSize
fontStyle
fontWeight
textAlign
textIndent
textDecoration
744
Chapter 6: Components Dictionary
backgroundColor
and
style properties, you must create a different custom style
borderStyle
Theme Description
The background color. The default color is white.
Both
The TextArea component uses a RectBorder instance as its
border and responds to the styles defined on that class. See
"RectBorder class" on page
The default border style is
Both
A number indicating the left margin for text. The default value
is 0.
Both
A number indicating the right margin for text. The default value
is 0.
Both
The text color. The default value is 0x0B333C for the Halo
theme and blank for the Sample theme.
Both
The color for text when the component is disabled. The default
color is 0x848384 (dark gray).
Both
A Boolean value that indicates whether the font specified in
fontFamily
true
embedded font will not be used. If this style is set to
fontFamily
displayed. The default value is
Both
The font name for text. The default value is
Both
The point size for the font. The default value is 10.
Both
The font style: either
is
"normal"
Both
The font weight: either
is
"none"
in place of
calls to
Both
The text alignment: either
default value is
Both
A number indicating the text indent. The default value is 0.
Both
The text decoration: either
value is
and
borderStyle
"inset"
is an embedded font. This style must be set to
if
refers to an embedded font. Otherwise, the
fontFamily
does not refer to an embedded font, no text will be
"normal"
.
"none"
. All components can also accept the value
during a
"none"
setStyle()
will return
getStyle()
"left"
.
"left"
"none"
.
"none"
style properties defined
647.
.
.
false
.
"_sans"
or
. The default value
"italic"
or
. The default value
"bold"
call, but subsequent
.
"none"
,
, or
"right"
"center"
or
. The default
"underline"
and
true
"normal"
. The

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Flash mx

Table of Contents