DateChooserEvents (ONLY commercially available)

Package:
Class:
Inheritance:
biz.flashscript.components.datechooser
public class DateChooserEvents
AbstractCalendar extends Sprite
The DateChooserEvents class is the class for the calendar. It is part of the EventsRecorder component. All the properties of the DateChooserEvents class can be set in a separate XML file for the EventsRecorder component, config.xml.
Public Properties
Property Defined By
dayColor : uint
Specifies the backgroundcolor for the textfield containing the number.
DateChooserEvents
dayFont : String
Specifies the embedded font for the individual day views.
DateChooserEvents
headFontDays : String
Specifies the embedded font for the individual week days in the header.
DateChooserEvents
headFontMonthYear : String
Specifies the embedded font for the month and year in the header.
DateChooserEvents
titleFont : String
Specifies the embedded font for the event title in the popup window.
DateChooserEvents
eventFont : String
Specifies the embedded font for the event description in the popup window.
DateChooserEvents
eventsXML : String
Specifies the URL for the events xml file.
DateChooserEvents
xmlFile : XML
Specifies the XML of the events xml file.
DateChooserEvents
Public Methods
Method Defined By
All inherited methods of the AbstractCalendar class. N/A
Events
Event Defined By

getSelectedDate

This event is dispatched when one of the days is pressed.

DateChooserEvents

getCurrentDate

This event is dispatched when the current month/year is displayed and when the month is changed. This event is also dispatched when the movie opens and can be caught. The month, the day, the year, the hours and minutes can be displayed. See the example at the bottom how to do it.

DateChooserEvents
All inherited events for the AbstractCalendar class. N/A
Property Detail

dayColor property
dayColor:uint [read-write]

This defines the color value for the textfield containg the number of the day.

The default value is 0x99CC99.

Implementation

public function get dayColor():uint
public function set dayColor(value:uint):void

dayFont property
dayFont:String [read-write]

Specifies the embedded font for the individual day views.

The default value is Baskerville SemiBold Italic..

Implementation

public function get dayFont():String
public function set dayFont(value:String):void

headFontDays property
headFontDays:String [read-write]

Specifies the embedded font for the individual week days in the header.

The default value is Baskerville SemiBold..

Implementation

public function get headFontDays():String
public function set headFontDays(value:String):void

headFontMonthYear property
headFontMonthYear:String [read-write]

Specifies the embedded font for the month and year in the header.

The default value is Baskerville Bold..

Implementation

public function get headFontMonthYear():String
public function set headFontMonthYear(value:String):void

titleFont property
titleFont:String [read-write]

Specifies the embedded font for the event title in the popup window.

The default value is Baskerville Bold..

Implementation

public function get titleFont():String
public function set titleFont(value:String):void

eventFont property
eventFont:String [read-write]

Specifies the embedded font for the event description in the popup window.

The default value is Baskerville..

Implementation

public function get eventFont():String
public function set eventFont(value:String):void

eventsXML property
eventsXML:String [read-write]

Specifies the XML of the events xml file.

There is no default value.

Implementation

public function get eventsXML():uint
public function set eventsXML(value:uint):void

xmlFile property
xmlFile:XML [read-write]

Specifies the URL for the events xml file.

There is no default value.

Implementation

public function get xmlFile():XML
public function set xmlFile(value:XML):void
Constructor Detail
DateChooserEvents ()  Constructor
public function DateChooserEvents()
Creates a new instance of the DateChooserEvents.
Event Detail

getSelectedDate event

Event Object Type: biz.flashscript.components.datechooser
Event.type property = biz.flashscript.components.datechooser.DateChooserEvents.GET_SELECTED_DATE

Dispatched when the day buttons are pressed.

getCurrentDate event

Event Object Type: biz.flashscript.components.datechooser
Event.type property = biz.flashscript.components.datechooser.DateChooserEvents.GET_CURRENT_DATE

Dispatched when the DateChooserEvents initiates.