User Guide
Tools object 513
tools.ctlIsDown
Availability
Flash MX 2004.
Usage
tools.ctlIsDown
Description
Read-only property; a Boolean value that is true if the Control key is pressed;
false otherwise.
Example
The following example determines whether the Control key is being pressed.
var isCtrldown = fl.tools.ctrlIsDown;
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 in the
Output panel.
var theKey = fl.tools.getKeyDown();
fl.trace(theKey);