14
Unsupported and Partially Supported Classes
Key class
The Key class provides methods and properties for obtaining information about the keyboard
itself, and the key presses input into it.
For more information about the Key class, see the following:
■
Developing Flash Lite 2.x Applications
■
Chapter 14, “Creating Interaction with ActionScript” in
Learning ActionScript 2.0 in Flash
■
Chapter 2, “ActionScript Classes,” in
Flash Lite 2.x ActionScript Language Reference
Flash Lite property extensions
The following table lists the property that has been added to the Key class when using
ActionScript for Flash Lite 2.0.
Flash Lite method extensions
The following table lists the method extension that has been added to the Key class when
using ActionScript for Flash Lite 2.0.
getLocaleShortDate()
This function sets a parameter to a string that represents the current
date, in abbreviated 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.
getLocaleTime()
This function sets a parameter to a string that represents the current
time, 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.
Property
Description
Support
isToggled
Returns
true
if the Num Lock or Caps Lock key is
active.
Not supported
Method Description
getCode()
Returns the virtual key code of the last key pressed.
Method
Description
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...