User Guide

Tools object 511
tools.activeTool
Availability
Flash MX 2004.
Usage
tools.activeTool
Description
Read-only property; returns the ToolObj object for the currently active tool.
Example
The following example saves an object that represents the currently active tool in the theTool
variable.
var theTool = fl.tools.activeTool;
tools.altIsDown
Availability
Flash MX 2004.
Usage
tools.altIsDown
tools.penDownLoc Read-only; a point that represents the position of the last mouse-
down event on the Stage.
tools.penLoc Read-only; a point that represents the current location of the
mouse.
tools.shiftIsDown Read-only; a Boolean value that identifies if the Shift key is being
pressed.
tools.toolObjs Read-only; an array of ToolObj objects.
Property Description