Tools Object - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Tools object

Availability
Flash MX 2004.
Description
The Tools object is accessible from the Flash object (
contains an array of ToolObj objects, and the
object for the currently active tool. (See also
Note: 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
tools.penDownLoc
tools.penLoc
tools.shiftIsDown
tools.toolObjs
356
Chapter 3: Objects
tools.activeTool
ToolObj
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 a mouse button is currently
pressed.
Read-only; a point that represents the position of the last mouse-down
event on the Stage.
Read-only; a point that represents the current location of the mouse.
Read-only; a Boolean value that identifies if the Shift key is being pressed.
Read-only; an array of ToolObj objects.
). The
fl.tools
tools.toolObjs
property returns the ToolObj
object.)
ToolObj object
for the currently active tool.
CHAPTER 3
Objects
property

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents