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);

Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004573.html