MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1184

Components language reference
Table of Contents

Advertisement

Customizing the TextArea component
You can transform a TextArea component horizontally and vertically while authoring and at
runtime. While authoring, select the component on the Stage and use the Free Transform tool
or any of the Modify > Transform commands. At runtime, use
applicable properties and methods of the
When a TextArea component is resized, the border is resized to the new bounding box. The
scroll bars are placed on the bottom and right edges if they are required. The text area is then
resized within the remaining area; there are no fixed-size elements in a TextArea component.
If the TextArea component is too small to display the text, the text is clipped.
Using styles with the TextArea component
The TextArea component has its
defined on a class style declaration. Class styles override global styles; therefore, if you want to
set the
backgroundColor
custom style declaration on the instance.
If the name of a style property ends in "Color", it is a color style property and behaves
differently than noncolor style properties. For more information, see "Using styles to
customize component color and text" in Using Components.
A TextArea component supports the following styles:
Style
backgroundColor
borderStyle
marginLeft
marginRight
color
disabledColor
1180
TextArea component
TextArea
backgroundColor
and
style properties, you must create a different
borderStyle
Theme Description
Both
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
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).
UIObject.setSize()
class.
and
borderStyle
"RectBorder class" on page
"inset"
or any
style properties
1063.
.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents