Chapter 14: Datechooser Component; (Flash Professional Only); Using The Datechooser Component (Flash Professional Only) - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

CHAPTER 14
1 4
DateChooser component

(Flash Professional only)

The DateChooser component is a calendar that allows users to select a date. It has buttons
that allow users to scroll through months and click a date to select it. You can set parameters
that indicate the month and day names, the first day of the week, and disabled dates, as well as
highlighting the current date.
A live preview of each DateChooser instance reflects the values indicated by the Property
inspector or Component inspector during authoring.
Using the DateChooser component
(Flash Professional only)
The DateChooser can be used anywhere you want a user to select a date. For example, you
could use a DateChooser component in a hotel reservation system with certain dates
selectable and others disabled. You could also use the DateChooser component in an
application that displays current events, such as performances or meetings, when a user
chooses a date.
DateChooser parameters
You can set the following authoring parameters for each DateChooser component instance in
the Property inspector or in the Component inspector (Window > Component Inspector
menu option):
dayNames
sets the names of the days of the week. The value is an array and the default value
is
.
["S", "M", "T", "W", "T", "F", "S"]
disabledDays
indicates the disabled days of the week. This parameter is an array that can
have up to seven values. The default value is
(an empty array).
[]
firstDayOfWeek
indicates which day of the week (0-6, with 0 being the first element of the
array) is displayed in the first column of the date chooser. This property changes
dayNames
the display order of the day columns.
411

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?

This manual is also suitable for:

Flash 8

Table of Contents