Tools Object - MACROMEDIA FLASH 8-EXTENDING FLASH Manual

Extending flash
Table of Contents

Advertisement

Tools object

Availability
Flash MX 2004.
Description
The Tools object is accessible from the flash object (
property contains an array of ToolObj objects, and the
the ToolObj object for the currently active tool. (See also
"Extensible tools" on page
The following methods and properties are used only when creating extensible tools.
Method summary for the Tools object
The following methods are available for the Tools object.
Method
tools.constrainPoint()
tools.getKeyDown()
tools.setCursor()
tools.snapPoint()
Property summary for the Tools object
The following properties are available for the Tools object.
Property
tools.activeTool
tools.altIsDown
tools.ctlIsDown
tools.mouseIsDown
510
Objects
CHAPTER 45
24.)
Description
Takes two points and returns a new adjusted or constrained
point.
Returns the most recently pressed key.
Sets the pointer to a specified appearance.
Takes a point as input and returns a new point that may be
adjusted or snapped to the nearest geometric object.
Description
Read-only; returns the
Read-only; a Boolean value that identifies if the Alt key is being
pressed.
Read-only; a Boolean value that identifies if the Control key is being
pressed.
Read-only; a Boolean value that identifies if the left mouse button is
currently pressed.
). The
fl.tools
tools.toolObjs
tools.activeTool
"ToolObj object" on page 499
ToolObj object
for the currently active tool.
Objects
property returns
and

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents