DateField.dayNames

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX Professional 2004.

Usage

dateFieldInstance.dayNames

Description

Property; an array containing the names of the days of the week. Sunday is the first day (at index position 0) and the other day names follow in order. The default value is ["S", "M", "T", "W", "T", "F", "S"].

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");