Key - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Example
The following example uses
another object, without storing the function in the object:
function myObject() {
}
function myMethod(obj) {
trace("this == obj? " + (this == obj));
}
var obj:Object = new myObject();
myMethod.call(obj, obj);
The
statement displays:
trace()
this == obj? true
See also
apply (Function.apply method)

Key

Object
|
+-Key
public class Key
extends
Object
The Key class is a top-level class whose methods and properties you can use without a
constructor. Use the methods of the Key class to build an interface that can be controlled by a
user with a standard keyboard. The properties of the Key class are constants representing the
keys most commonly used to control applications, such as Arrow keys, Page Up, and Page
Down.
Availability: ActionScript 1.0; Flash Lite 2.0
See also
ExtendedKey
370
ActionScript classes
to make a function behave as a method of
Function.call()

Advertisement

Table of Contents
loading

Table of Contents