EasyManua.ls Logo

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

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
370 ActionScript classes
Example
The following example uses
Function.call() to make a function behave as a method of
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 trace() statement displays:
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

Table of Contents

Related product manuals