MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 513

Extending flash
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents