MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 439

Components language reference
Table of Contents

Advertisement

Style
embedFonts
fontFamily
fontSize
fontStyle
fontWeight
textDecoration
The DateField 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 DateField
component itself control the regular date text and the text displayed in the collapsed state, 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);
Theme Description
Both
A Boolean value that indicates whether the font
specified in
must be set to
font. Otherwise, the embedded font is not used. If this
style is set to
embedded font, no text is displayed. The default value
is
.
false
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
value is
"normal"
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 DateField component (Flash Professional only)
is an embedded font. This style
fontFamily
if
refers to an embedded
true
fontFamily
and
true
fontFamily
or
"normal"
.
or
"none"
"bold"
. All components can also accept the
in place of
"none"
getStyle()
"none"
.
"none"
does not refer to an
.
"_sans"
. The default
"italic"
. The default
during a
setStyle()
return
.
"none"
or
. The
"underline"
437

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