Date class
13
Date class
The Date class shows how dates and times are represented in ActionScript, and it supports
operations for manipulating dates and times. The Date class can also obtain the current date
and time from the operating system.
For more information about the Date class, see the following:
■
Developing Flash Lite 2.x Applications
■
Chapter 4, “Data and Data Types” in
Learning ActionScript 2.0 in Flash
■
Chapter 2, “ActionScript Classes,” in
Flash Lite 2.x ActionScript Language Reference
Method summary
The following table lists the methods (functions) that have been added to the Date class when
using ActionScript for Flash Lite 2.0.
onDragOver
Invoked when the pointer is dragged over the
button. Supported if
System.capabilities.hasMouse
or
System.capabilities.hasStylus
are set to
true
.
Partially
supported
onReleaseOutside
Invoked when the mouse is released while the
pointer is outside the button after the button is
pressed while the pointer is inside the button.
Limitations:
Supported if
System.capabilities.hasMouse
or
System.capabilities.hasStylus
are set to
true
.
Partially
supported
Method
Description
getLocaleLongDate()
This function sets a parameter to a string that represents the current
date, in long form, formatted according to the currently defined locale.
The parameter is passed in by name. The returned value is a multiple-
character, variable-length string. The actual formatting depends on
the device and the locale.
Event
Description
Support
Summary of Contents for FLASH 8-INTRODUCTION TO FLASH LITE 2.X...
Page 1: ...Introduction to Flash Lite 2 x ActionScript...
Page 4: ...4...
Page 34: ...34 Unsupported and Partially Supported Classes...