Packagecom.senocular.display.transform
Classpublic class ControlHiddenMultifunction
InheritanceControlHiddenMultifunction Inheritance ControlInteractive Inheritance Control Inheritance flash.display.Sprite

Combines moving, scaling, rotating and moving the registration point into a single, invisible control. Each operation, except for moving, relies on a keyboard shortcuts to enable.



Public Properties
 PropertyDefined By
 Inheritedcursor : Cursor
The cursor to be used when interacting with this control.
ControlInteractive
 InheritedfillAlpha : Number
The alpha of the color used for filled shapes in dynamically drawn control graphics.
Control
 InheritedfillColor : uint
The color to be used for filled shapes in dynamically drawn control graphics.
Control
 InheritedlineAlpha : Number
The alpha of the color used for outlines in dynamically drawn control graphics.
Control
 InheritedlineColor : uint
The color to be used for outlines in dynamically drawn control graphics.
Control
 InheritedlineThickness : Number
The thickness used for outlines in dynamically drawn control graphics.
Control
  target : DisplayObject
Target display object to be transformed by the TransformTool.
ControlHiddenMultifunction
  tool : TransformTool
[override]
ControlHiddenMultifunction
Protected Properties
 PropertyDefined By
 InheritedactiveLocalX : Number
Mouse location in x axis within the target object coordinate space while the control is being dragged.
ControlInteractive
 InheritedactiveLocalY : Number
Mouse location in y axis within the target object coordinate space while the control is being dragged.
ControlInteractive
 InheritedactiveMouseEvent : MouseEvent
The most recent mouse event received by the activeTarget dispatcher when consuming mouse events.
ControlInteractive
 InheritedactiveTarget : IEventDispatcher
The object from which mouse events are consumed.
ControlInteractive
 InheritedactiveX : Number
Mouse location in x axis within the Transform Tool coordinate space while the control is being dragged.
ControlInteractive
 InheritedactiveY : Number
Mouse location in y axis within the Transform Tool coordinate space while the control is being dragged.
ControlInteractive
 InheritedbaseLocalMatrixInverted : Matrix
Inverted base matrix used to convert locations in the Transform Tool coordinate space into locations within the target object coordinate space.
ControlInteractive
 InheritedbaseLocalRegistration : Point
Registration point location within the target object coordinate space when the control is first clicked.
ControlInteractive
 InheritedbaseLocalX : Number
Mouse location in x axis within the target object coordinate space after offsets are applied when the control is first clicked.
ControlInteractive
 InheritedbaseLocalY : Number
Mouse location in y axis within the target object coordinate space when the control is first clicked.
ControlInteractive
 InheritedbaseRegistration : Point
Registration point location within the Transform Tool coordinate space when the control is first clicked.
ControlInteractive
 InheritedbaseX : Number
Mouse location in x axis within the Transform Tool coordinate space when the control is first clicked.
ControlInteractive
 InheritedbaseY : Number
Mouse location in y axis within the Transform Tool coordinate space when the control is first clicked.
ControlInteractive
 InheritedlocalMouse : Point
Mouse location within the target object coordinate space when the control is first clicked.
ControlInteractive
 Inheritedmouse : Point
Mouse location within the Transform Tool coordinate space when the control is first clicked.
ControlInteractive
 InheritedoffsetMouse : Point
Offset for the mouse position.
ControlInteractive
Public Methods
 MethodDefined By
  
ControlHiddenMultifunction
 Inherited
draw():void
Draws the visuals of the control.
Control
 Inherited
redraw(event:Event):void
[override] Handler for the TransformTool.REDRAW event.
ControlInteractive
Protected Methods
 MethodDefined By
  
activeMouseMove(event:MouseEvent):void
[override]
ControlHiddenMultifunction
 Inherited
activeMouseUp(event:MouseEvent):void
Handler for the MouseEvent.MOUSE_UP event (capture and no capture) from the activeTarget object.
ControlInteractive
 Inherited
added(event:Event):void
Handler for the Event.ADDED event (capture).
Control
 Inherited
addedToStage(event:Event):void
Handler for the Event.ADDED_TO_STAGE event.
Control
 Inherited
calculateAndUpdate(commit:Boolean = true, enforceNegativeScaling:Boolean = true):void
Calls calculateTransform and update from the parent TransformTool instance.
ControlInteractive
 Inherited
Clears variables and listeners for tracking the mouse location.
ControlInteractive
 Inherited
Cleanup steps when defining a new cursor value.
ControlInteractive
 Inherited
Cleanup steps when defining a new tool value.
Control
 Inherited
mouseDown(event:MouseEvent):void
Handler for the MouseEvent.ROLL_OUT event for the control object.
ControlInteractive
 Inherited
mouseUp(event:MouseEvent):void
Handler for the MouseEvent.MOUSE_UP event for the control object.
ControlInteractive
 Inherited
move():void
Moves the transform using the current mouse position (applied to postTransform).
ControlInteractive
 Inherited
Moves the registration point using the current mouse position.
ControlInteractive
 Inherited
removedFromStage(event:Event):void
[override] Handler for the Event.REMOVED_FROM_STAGE event.
ControlInteractive
 Inherited
restrict(event:Event):void
Handler for the TransformTool.RESTRICT event.
ControlInteractive
 Inherited
rollOut(event:MouseEvent):void
Handler for the MouseEvent.ROLL_OUT event for the control object.
ControlInteractive
 Inherited
rollOver(event:MouseEvent):void
Handler for the MouseEvent.ROLL_OVER event for the control object.
ControlInteractive
 Inherited
rotate():void
Rotates a transform using the current mouse position (applied to postTransform).
ControlInteractive
 Inherited
scale():void
Scales the transform along both the x and y axes using the current mouse position (applied to preTransform).
ControlInteractive
  
ControlHiddenMultifunction
 Inherited
scaleXAxis():void
Scales the transform along the axis using the current mouse position (applied to preTransform).
ControlInteractive
 Inherited
scaleYAxis():void
Scales the transform along the y axis using the current mouse position (applied to preTransform).
ControlInteractive
 Inherited
Intializes variables and listeners for tracking the mouse location.
ControlInteractive
 Inherited
Setup steps when defining a new cursor value.
ControlInteractive
 Inherited
setupTool():void
[override] Setup steps when defining a new tool value.
ControlInteractive
 Inherited
skewXAxis():void
Skews the transform along the x axis using the current mouse position (applied to preTransform).
ControlInteractive
 Inherited
skewYAxis():void
Skews the transform along the y axis using the current mouse position (applied to preTransform).
ControlInteractive
  
targetChanged(event:Event):void
[override]
ControlHiddenMultifunction
 Inherited
Scales the transform along both the x and y axes using the current mouse position in a uniform fashion (applied to preTransform).
ControlInteractive
 Inherited
Updates active references for mouse positions.
ControlInteractive
 Inherited
Updates base references for mouse positions.
ControlInteractive
 Inherited
Updates the values of the base references.
ControlInteractive
 Inherited
updateMousePositions(event:MouseEvent = null):void
Updates mouse position references from the provided mouse event.
ControlInteractive
Public Constants
 ConstantDefined By
 InheritedMIN_SCALE_BASE : Number = .1
The minimum distance to allow scaling.
ControlInteractive
Property Detail
targetproperty
target:DisplayObject

Target display object to be transformed by the TransformTool. Control points may use the target to add listeners to, for example to move the target by dragging it. This value is automatically updated through the TransformTool.TARGET_CHANGED event.


Implementation
    public function get target():DisplayObject
    public function set target(value:DisplayObject):void
toolproperty 
tool:TransformTool[override]


Implementation
    public function get tool():TransformTool
    public function set tool(value:TransformTool):void
Constructor Detail
ControlHiddenMultifunction()Constructor
public function ControlHiddenMultifunction(cursor:Cursor = null)



Parameters
cursor:Cursor (default = null)
Method Detail
activeMouseMove()method
override protected function activeMouseMove(event:MouseEvent):void

Parameters

event:MouseEvent

scaleAndRotate()method 
protected function scaleAndRotate():void

targetChanged()method 
override protected function targetChanged(event:Event):void

Parameters

event:Event