User Guide
214 Chapter 9: Using Flash, Flash Components, and Other Interactive Media Types
Property summary for the DateChooser class
Event summary for the DateChooser class
Label component
A label component is a single line of text. You can specify that a label be formatted with HTML.
You can also control alignment and sizing of a label. Label components don’t have borders, cannot
be focused, and don’t broadcast any events.
Use a Label component to create a text label for another component in a form, such as a “Name:”
label to the left of a TextInput field that accepts a user's name. If you’re building an application
using components based on version 2 (v2) of the Macromedia Component Architecture, it’s a
good idea to use a Label component instead of a plain text field because you can use styles to
maintain a consistent look and feel.
Label parameters
The following are authoring parameters that you can set for each Label component instance in
the Property inspector or in the Component Inspector panel:
text indicates the text of the label; the default value is Label.
html indicates whether the label is formatted with HTML (true) or not (false). If the html
parameter is set to
true, a Label cannot be formatted with styles. The default value is false.
Method Description
DateChooser.dayNames
An array indicating the names of the days of the week.
DateChooser.disabledDays
An array indicating the days of the week that are disabled for all
applicable dates in the date chooser.
DateChooser.disabledRanges
A range of disabled dates or a single disabled date.
DateChooser.displayedMonth
A number indicating an element in the monthNames array to display in
the date chooser.
DateChooser.displayedYear
A number indicating the year to display.
DateChooser.firstDayOfWeek
A number indicating an element in the dayNames array to display in
the first column of the date chooser.
DateChooser.monthNames
An array of strings indicating the month names.
DateChooser.selectableRange
A single selectable date or a range of selectable dates.
DateChooser.selectedDate
A Date object indicating the selected date.
DateChooser.showToday
A Boolean value indicating whether the current date is highlighted.
Method Description
DateChooser.change
Broadcast when a date is selected.
DateChooser.scroll
Broadcast when the month buttons are pressed.