MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 590

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

Advertisement

Customizing the NumericStepper component
You can transform a NumericStepper 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 the
UIObject.setSize()
(See
"NumericStepper class" on page
Resizing the NumericStepper component does not change the size of the down and up arrow
buttons. If the stepper is resized to be greater than the default height, the arrow buttons are
pinned to the top and bottom of the component. The arrow buttons always appear to the right of
the text box.
Using styles with the NumericStepper component
You can set style properties to change the appearance of a NumericStepper 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
and text" on page
A NumericStepper component supports the following styles:
Style
themeColor
color
disabledColor
embedFonts
fontFamily
fontSize
fontStyle
fontWeight
textAlign
590
Chapter 6: Components Dictionary
) or any applicable properties and methods of the NumericStepper class.
592.)
67.
Theme Description
Halo
The base color scheme of a component. Possible values are
"haloGreen"
is
"haloGreen"
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
"Using styles to customize component color
,
, and
"haloBlue"
.
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"
.
"center"
method (see
setSize()
. The default value
"haloOrange"
true
.
false
.
"_sans"
or
. The default value
"italic"
or
. The default value
"bold"
"normal"
call, but subsequent
.
"none"
,
, or
"right"
"center"
and
. 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