A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
calibrateDepths(event:flash.events:Event, leaveTarget:Boolean) — method, class com.greensock.transform.Crop |
|
Adjusts the depth levels of the target or Crop object in the display list so
that the Crop is on top of the target. |
calibrateDepths(event:flash.events:Event, leaveTarget:Boolean) — method, class com.greensock.transform.FlexCrop |
|
Adjusts the depth levels of the target or FlexCrop object in the display list so
that the FlexCrop is on top of the target. |
center — Property, class com.greensock.transform.TransformItem |
| Center point (according to the DisplayObject.parent's coordinate space |
CLICK_OFF — Constant Static Property, class com.greensock.events.TransformEvent |
| Dispatched when the mouse is clicked off of the selection, and ONLY when autoDeselect is false. |
clone() — method, class com.greensock.events.TransformEvent |
| |
com.greensock.events — package |
| |
com.greensock.transform — package |
| |
com.greensock.transform.utils — package |
| |
configureCropMode(maskEnabled:Boolean, alpha:Number, lineColor:uint, autoApplyOnDeselect:Boolean) — method, class com.greensock.transform.Crop |
|
Allows some customization of the cropMode, like alpha, lineColor, etc. |
configureCropMode(maskEnabled:Boolean, alpha:Number, lineColor:uint, autoApplyOnDeselect:Boolean) — method, class com.greensock.transform.FlexCrop |
|
Allows some customization of the cropMode, like alpha, lineColor, etc. |
constrainScale — Property, class com.greensock.transform.FlexTransformManager |
| To constrain items to only scaling proportionally, set this to true [default: false] |
constrainScale — Property, class com.greensock.transform.TransformItem |
| To constrain the item so that it only scales proportionally, set this to true [default: false] |
constrainScale — Property, class com.greensock.transform.TransformManager |
| To constrain items to only scaling proportionally, set this to true [default: false] |
Crop — class, package com.greensock.transform |
|
An example implementation of a cropping tool that works with TransformManager, making it relatively simple to allow users
to interactively crop a DisplayObject using a rectangular mask. |
Crop(target:flash.display:DisplayObject, manager:com.greensock.transform:TransformManager, attached:Boolean, fillColor:uint, alpha:Number) — Constructor, class com.greensock.transform.Crop |
|
Constructor
|
cropMode — Property, class com.greensock.transform.Crop |
| When the Crop's cropMode property is true, it automatically detaches from the target
(attached is set to false) and the following also occur, which you can customize
using the configureCropMode() method:
maskEnabled is set to false so that the target becomes fully visible (not masked).
The line color of the selection box becomes red (the TransformManager's lineColor is temporarily changed).
The alpha of the Crop is set to 0.3 so that the rectangle becomes visible.
A "enterCropMode" Event is dispatched.
When cropMode is changed to false, a "exitCropMode" Event is dispatched.
To enter cropMode, simply double-click on the Crop object or manually set cropMode to true. |
cropMode — Property, class com.greensock.transform.FlexCrop |
| When the FlexCrop's cropMode property is true, it automatically detaches from the target
(attached is set to false) and the following also occur, which you can customize
using the configureCropMode() method:
maskEnabled is set to false so that the target becomes fully visible (not masked).
The line color of the selection box becomes red (the TransformManager's lineColor is temporarily changed).
The alpha of the FlexCrop is set to 0.3 so that the rectangle becomes visible.
A "enterCropMode" Event is dispatched.
When cropMode is changed to false, a "exitCropMode" Event is dispatched.
To enter cropMode, simply double-click on the FlexCrop object or manually set cropMode to true. |
customizeMoveCursor(cursor:flash.display:Shape, hideMouse:Boolean, xOffset:Number, yOffset:Number) — Static Method , class com.greensock.transform.TransformManager |
|
Facilitates the customization of the move cursor so that you can optionally define a Shape object
to use as a cursor (if null, TransformManager will use its default move cursor), and also optionally
hide the Mouse when the cursor is used and/or define x and y offset values (measured from the
Mouse position). |
customizeRotationCursor(cursor:flash.display:Shape, hideMouse:Boolean, xOffset:Number, yOffset:Number, autoRotate:Boolean) — Static Method , class com.greensock.transform.TransformManager |
|
Facilitates the customization of the rotation cursor so that you can optionally define a Shape object
to use as a cursor (if null, TransformManager will use its default rotation cursor), and also optionally
hide the Mouse when the cursor is used and/or define x and y offset values (measured from the
Mouse position). |
customizeScaleCursor(cursor:flash.display:Shape, hideMouse:Boolean, xOffset:Number, yOffset:Number, autoRotate:Boolean) — Static Method , class com.greensock.transform.TransformManager |
|
Facilitates the customization of the scale cursor so that you can optionally define a Shape object
to use as a cursor (if null, TransformManager will use its default scale cursor), and also optionally
hide the Mouse when the cursor is used and/or define x and y offset values (measured from the
Mouse position). |
|
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |