Datefield.selectablerange - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

DateField.selectableRange

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
dateFieldInstance.selectableRange
Description
Property; sets a single selectable date or a range of selectable dates. The value of this property
is an object that consists of two Date objects named
and
. The
rangeStart
rangeEnd
and
properties designate the boundaries of the selectable date range. If
rangeStart
rangeEnd
only
is defined, all the dates after
are enabled. If only
is
rangeStart
rangeStart
rangeEnd
defined, all the dates before
are enabled. The default value is
.
rangeEnd
undefined
If you want to enable only a single day, you can use a single Date object as the value of
.
selectableRange
Specify a full date when you define dates—for example,
rather than
new Date(2003,6,24)
. If you don't specify a full date, the time returns as
.
new Date()
00:00:00
The value of
is set to
if it falls outside the
DateField.selectedDate
undefined
selectable range.
The values of
and
are set to the
DateField.displayedMonth
DateField.displayedYear
nearest last month in the selectable range if the current month falls outside the selectable
range. For example, if the current displayed month is August, and the selectable range is from
June 2003 to July 2003, the displayed month changes to July 2003.
458
DateField component (Flash Professional only)

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents