Adobe Extending Flash Professional CS4 Bedienungsanleitung Seite 523

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 560
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 522
501
EXTENDING FLASH CS4 PROFESSIONAL
Tools object
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
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.
Seitenansicht 522
1 2 ... 518 519 520 521 522 523 524 525 526 527 528 ... 559 560

Kommentare zu diesen Handbüchern

Keine Kommentare