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

Introduction to flash lite 2.x actionscript
Table of Contents

Advertisement

Method
getLocaleShortDate()
getLocaleTime()

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.
Property
isToggled
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.
Method
getCode()
14
Unsupported and Partially Supported Classes
Description
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.
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.
Description
Returns
if the Num Lock or Caps Lock key is
true
active.
Description
Returns the virtual key code of the last key pressed.
Support
Not supported

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-INTRODUCTION TO FLASH LITE 2.X ACTIONSCRIPT and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents