User Guide
DateField.open() 453
Example
The following example sets the month names for the instance my_df:
my_df.monthNames = ["Jan", "Feb","Mar","Apr", "May", "June","July", "Aug",
"Sept","Oct", "Nov", "Dec"];
DateField.open()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
dateFieldInstance.open()
Returns
Nothing.
Description
Method; opens the pop-up DateChooser subcomponent.
Example
The following code opens the date chooser pop-up of the my_df date field instance when the
button
my_btn is clicked:
//Create listener object.
var btnListener:Object = new Object();
btnListener.click = function() {
my_df.open();
};
//Add Button listener.
my_btn.addEventListener("click", btnListener);