MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 360

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

DateChooser.disabledRanges
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDC.disabledRanges
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 that specifies a single day to disable, or an object that
contains either or both of the properties
a Date object. The
range. If either property is omitted, the range is unbounded in that direction.
The default value of
Specify a full date when you define dates for the
new Date(2003,6,24)
as
.
00:00:00
Example
The following example defines an array with
the dates between May 7 and June 7:
myDC.disabledRanges = [{rangeStart: new Date(2003, 4, 7), rangeEnd: new
Date(2003, 5, 7)}];
The following example disables all dates after November 7:
myDC.disabledRanges = [ {rangeStart: new Date(2003, 10, 7)} ];
The following example disables all dates before October 7:
myDC.disabledRanges = [ {rangeEnd: new Date(2002, 9, 7)} ];
The following example disables only December 7:
myDC.disabledRanges = [ new Date(2003, 11, 7) ];
DateChooser.displayedMonth
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDC.displayedMonth
360
Chapter 6: Components Dictionary
rangeStart
and
rangeStart
rangeEnd
is
disabledRanges
undefined
rather than
new Date()
and
rangeEnd
properties describe the boundaries of the date
.
disabledRanges
. If you don't specify a full date, the time returns
and
rangeStart
rangeEnd
, each of whose value must be
property. For example, specify
Date objects that disable

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents