Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 393 Bytes

File metadata and controls

29 lines (17 loc) · 393 Bytes

tools.getKeyDown()

Availability

Flash MX 2004.

Usage

tools.getKeyDown()

Parameters

None.

Returns

The integer value of the key.

Description

Method; returns the most recently pressed key.

Example

The following example displays the integer value of the most recently pressed key:

var theKey = fl.tools.getKeyDown();
fl.trace(theKey);