tools.ctlIsDown
Availability
Flash MX 2004.
Usage
tools.ctlIsDown
Description
Read-only property; a Boolean value that is
if the Control key is pressed;
true
otherwise.
false
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);
Tools object
513
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers