User Guide
456 DateField component (Flash Professional only)
Description
Property (read-only); a reference to the DateChooser component contained by the DateField
component. The DateChooser subcomponent is instantiated when a user clicks on the
DateField component. However, if the
pullDown property is referenced before the user clicks
on the component, the DateChooser is instantiated and then hidden.
Example
The following example sets the visibility of the DateChooser subcomponent to false and
then sets the size of the DateChooser subcomponent to 300 pixels high and 300 pixels wide:
my_df.pullDown._visible = false;
my_df.pullDown.setSize(300, 300);
DateField.scroll
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
Usage 1:
var listenerObject:Object = new Object();
listenerObject.scroll = function(eventObject:Object) {
// ...
};
dateFieldInstance.addEventListener("scroll", listenerObject);
Usage 2:
on (scroll) {
// ...
}
Description
Event; broadcast to all registered listeners when a month button is clicked.