Tools.altisdown, Tools.constrainpoint() – Adobe Extending Flash Professional CS4 User Manual
Page 523
501
EXTENDING FLASH CS4 PROFESSIONAL
Tools object
Usage
tools.activeTool
Description
Read-only property; returns the
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
Description
Read-only property; a Boolean value that identifies if the Alt key is being pressed. The value is
true
if the Alt key is
pressed, and
false
otherwise.
Example
The following example determines whether the Alt key is being pressed:
var isAltDown = fl.tools.altIsDown;
tools.constrainPoint()
Availability
Flash MX 2004.
Usage
tools.constrainPoint(pt1, pt2)
Parameters
pt1, pt2
Points that specify the starting-click point and the drag-to point.
Returns
A new adjusted or constrained point.
- Acrobat 9 PRO (590 pages)
- Acrobat 9 PRO Extended (546 pages)
- Acrobat 8 3D (600 pages)
- Acrobat 7 Professional (793 pages)
- After Effects CS4 (753 pages)
- After Effects CS4 (778 pages)
- Media Encoder CS5.5 (59 pages)
- Media Encoder CS5.5 (77 pages)
- Media Encoder CS4 (45 pages)
- Digital Publishing Suite (222 pages)
- InDesign CC v.9.2 2014 (643 pages)
- After Effects CS3 (677 pages)
- InCopy CS3 (393 pages)
- InCopy CS3 (710 pages)
- InCopy CS3 (672 pages)
- InDesign Filters Readme (15 pages)
- InDesign Tagged Text (29 pages)
- InDesign (829 pages)
- InDesign CS4 (717 pages)
- Dreamweaver CS3 (700 pages)
- Dreamweaver CS3 (738 pages)
- Dreamweaver CS3 (732 pages)
- Extending Dreamweaver CS3 (387 pages)
- Dreamweaver API Reference CS3 (533 pages)
- Flash Professional CS3 (943 pages)
- Flash Professional CS3 (527 pages)
- Extending Flash Professional CS5.5 (565 pages)
- Premiere Pro CS6 (575 pages)
- Premiere Pro CS6 (485 pages)
- Premiere Pro CS4 (491 pages)
- Premiere Pro CS3 (455 pages)
- Photoshop CC 2014 v.14.xx (1061 pages)
- Photoshop Lightroom 2 (261 pages)
- Photoshop CS4 (707 pages)
- Photoshop CS3 (681 pages)
- Elements Organizer 8 for Windows (180 pages)
- Elements Organizer 11 (238 pages)
- Premiere Elements 12 (319 pages)
- Premiere Elements 7 (313 pages)
- Illustrator CS6 (556 pages)
- Illustrator CS6 (499 pages)
- Illustrator CS3 (495 pages)