Date Class - MACROMEDIA FLASH 8-INTRODUCTION TO FLASH LITE 2.X ACTIONSCRIPT Introduction Manual

Introduction to flash lite 2.x actionscript
Table of Contents

Advertisement

Event
onDragOver
onReleaseOutside

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.
Method
getLocaleLongDate()
Description
Invoked when the pointer is dragged over the
button. Supported if
System.capabilities.hasMouse
System.capabilities.hasStylus
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
System.capabilities.hasStylus
Description
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.
Support
Partially
supported
or
are set to
.
true
Partially
supported
or
are set to
.
true
Date class
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents