Datefield.displayedmonth - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Description
Property; disables a single day or a range of days. This property is an array of objects. Each
object in the array must be either a Date object specifying a single day to disable, or an object
containing either or both of the properties
must be a Date object. The
the date range. If either property is omitted, the range is unbounded in that direction.
The default value of
disabledRanges
Specify a full date when you define dates for the
new Date(2003,6,24)
returns as
.
00:00:00
Example
The following example defines an array with
disable the dates between May 7 and June 7:
my_df.disabledRanges = [ {rangeStart: new Date(2003, 4, 7), rangeEnd: new
Date(2003, 5, 7)}];
The following example disables all dates after November 7:
my_df.disabledRanges = [ {rangeStart: new Date(2003, 10, 7)} ];
The following example disables all dates before October 7:
my_df.disabledRanges = [ {rangeEnd: new Date(2002, 9, 7)} ];
The following example disables only December 7:
my_df.disabledRanges = [ new Date(2003, 11, 7) ];
The following example disables December 7 and December 20:
my_df.disabledRanges = [ new Date(2003, 11, 7), new Date(2003, 11, 20)];

DateField.displayedMonth

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
dateFieldInstance.displayedMonth
450
DateField component (Flash Professional only)
rangeStart
and
rangeStart
is
undefined
rather than
new Date()
and
rangeEnd
properties describe the boundaries of
rangeEnd
.
disabledRanges
. If you don't specify a full date, the time
and
rangeStart
rangeEnd
, each of whose value
property—for example,
Date objects that

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