
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Key Class
|
457
Function Class
The Function class provides an object-oriented representation of ActionScript functions.
Constructor
None (use the function keyword to create functions)
Instance properties
prototype:Object*
Instance methods
apply(thisArg:Object, args:Array)
call(
thisArg:Object)
Key Class
The Key class is used to determine the state of keys on the keyboard.
At runtime, the Key class is actually a standalone, predefined object,
not a class. However, it is treated as a class by the compiler for the
sake of type checking. Hence, the Key class has no constructor.
Constructor
None
Class properties
The following properties are all datatype Number:
getUTCDate( ):Number setUTCFullYear(
value:Number):Void
getUTCDay( ):Number setUTCHours(
value:Number):Void
getUTCFullYear( ):Number setUTCMilliseconds(
value:Number):Void
getUTCHours( ):Number setUTCMinutes(
value:Number):Void
getUTCMilliseconds( ):Number setUTCMonth(
value:Number):Void
getUTCMinutes( ):Number setUTCSeconds(
value:Number):Void
getUTCMonth( ):Number setYear(
value:Number):Void
getUTCSeconds( ):Number toString( ):String
getUTCYear( ):Number
a
valueOf( ):Number
a
Undocumented
ALT DOWN INSERT SHIFT
BACKSPACE END LEFT SPACE
CAPSLOCK ENTER PGDN TAB
CONTROL ESCAPE PGUP UP
DELETEKEY HOME RIGHT