Datefield.disableddays; Datefield.disabledranges - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Example
The following example changes the value of the fifth day of the week (Thursday) from "T" to
"R":
my_df.dayNames[4] = "R";
The following example changes the value of all the days, accordingly:
my_df.dayNames = new Array("Su", "Mo", "Tu", "We", "Th", "Fr", "Sa");

DateField.disabledDays

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
dateFieldInstance.disabledDays
Description
Property; an array indicating the disabled days of the week. All the dates in a month that fall
on the specified day are disabled. The elements of this array can have values between 0
(Sunday) and 6 (Saturday). The default value is
(an empty array).
[]
Example
The following example disables Sundays and Saturdays so that users can select only weekdays:
my_df.disabledDays = [0, 6];

DateField.disabledRanges

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
dateFieldInstance.disabledRanges
DateField.disabledRanges
449

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents