11.
Drag a DateField component to the Stage.
12.
Select Control > Test Movie.
DateField class (Flash Professional only)
Inheritance
MovieClip >
ActionScript Class Name
The properties of the DateField class let you access the selected date and the displayed month
and year. You can also set the names of the days and months, indicate disabled dates and
selectable dates, set the first day of the week, and indicate whether the current date should
be highlighted.
Setting a property of the DateField class with ActionScript overrides the parameter of the
same name set in the Property inspector or Component inspector.
Each component class has a
available only on the class itself. The
version of the component. To access this property, use the following code:
trace(mx.controls.DateField.version);
The code
trace(myDateFieldInstance.version);
Method summary for the DateField class
The following table lists methods of the DateField class.
Method
DateField.close()
DateField.open()
UIObject class
>
UIComponent class
mx.controls.DateField
property, which is a class property. Class properties are
version
property returns a string that indicates the
version
Description
Closes the pop-up DateChooser subcomponent.
Opens the pop-up DateChooser subcomponent.
> ComboBase > DateField
returns
.
undefined
DateField class (Flash Professional only)
439
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers