User Guide

DateChooser component (Flash Professional only) 355
Methods inherited from the UIObject class
The following table lists the methods the DateChooser class inherits from the UIObject class.
When calling these methods from the DateChooser object, use the form
dateChooserInstance.methodName.
Methods inherited from the UIComponent class
The following table lists the methods the DateChooser class inherits from the UIComponent
class. When calling these methods from the DateChooser object, use the form
dateChooserInstance.methodName.
Property summary for the DateChooser class
The following table lists the properties that are exclusive to the DateChooser class.
Method Description
UIObject.createClassObject() Creates an object on the specified class.
UIObject.createObject() Creates a subobject on an object.
UIObject.destroyObject() Destroys a component instance.
UIObject.doLater() Calls a function when parameters have been set in the Property and
Component inspectors.
UIObject.getStyle() Gets the style property from the style declaration or object.
UIObject.invalidate() Marks the object so it will be redrawn on the next frame interval.
UIObject.move() Moves the object to the requested position.
UIObject.redraw() Forces validation of the object so it is drawn in the current frame.
UIObject.setSize() Resizes the object to the requested size.
UIObject.setSkin() Sets a skin in the object.
UIObject.setStyle() Sets the style property on the style declaration or object.
Method Description
UIComponent.getFocus() Returns a reference to the object that has focus.
UIComponent.setFocus() Sets focus to the component instance.
Property 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.