MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 417

Components language reference
Table of Contents

Advertisement

Style
fontWeight
textDecoration
The DateChooser component uses four categories of text to display the month name, the days
of the week, today's date, and regular dates. The text style properties set on the DateChooser
component itself control the regular date text and provide defaults for the other text. To set
text styles for specific categories of text, use the following class-level style declarations.
Declaration name
HeaderDateText
WeekDayStyle
TodayStyle
The following example demonstrates how to set the month name and days of the week to a
deep red color.
_global.styles.HeaderDateText.setStyle("color", 0x660000);
_global.styles.WeekDayStyle.setStyle("color", 0x660000);
Using skins with the DateChooser component
The DateChooser component uses skins to represent the forward and back month buttons
and the today indicator. To skin the DateChooser component while authoring, modify skin
symbols in the Flash UI Components 2/Themes/MMDefault/DateChooser Assets/States
folder in the library of one of the themes' FLA files. For more information, see "About
skinning components" in Using Components.
Theme Description
Both
The font weight: either
value is
"none"
value
"normal"
call, but subsequent calls to
Both
The text decoration: either
default value is
Description
The month name.
The days of the week.
Today's date.
Customizing the DateChooser component (Flash Professional only)
or
"none"
"bold"
. All components can also accept the
in place of
during a
"none"
getStyle()
or
"none"
.
"none"
. The default
setStyle()
returns
.
"none"
. The
"underline"
415

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents