Packagecom.fileitup.fisixengine.graphics
Classpublic class DisplayAttacher3
InheritanceDisplayAttacher3 Inheritance DisplayAttacher

Anchors the display object to 'anchor' and sets its angle to the angle between anchor2 and anchor3.



Public Properties
 PropertyDefined by
 Inheritedanchor : Vector
DisplayAttacher
 Inheriteddisp : DisplayObject
DisplayAttacher
 Inheritedparent : FisixObject
DisplayAttacher
 InheritedxOffset : Number
DisplayAttacher
Public Methods
 MethodDefined by
  
DisplayAttacher3(d:DisplayObject, anc:Vector, anc2:Vector, anc3:Vector, angOff:Number = 0, mult:Number = 1)
Creates a DisplayAttacher2.
DisplayAttacher3
  
dispose():void
Disposes of the DisplayAttacher.
DisplayAttacher3
 Inherited
unload():void
Removes the DisplayAttacher from the simulation and disposes of it.
DisplayAttacher
  
update():void
Updates the attached DisplayObject.
DisplayAttacher3
Constructor detail
DisplayAttacher3()constructor
public function DisplayAttacher3(d:DisplayObject, anc:Vector, anc2:Vector, anc3:Vector, angOff:Number = 0, mult:Number = 1)

Creates a DisplayAttacher2.

Parameters
d:DisplayObject — A flash DisplayObject (ie. a MovieClip, Sprite, Shape).
 
anc:Vector — The Vector object to attach the DisplayObject to.
 
anc2:Vector — The first Vector object to use for angle calculations.
 
anc3:Vector — The second Vector object to use for angle calculations.
 
angOff:Number (default = 0) — The amount of degrees to offset the angle of the DisplayObject.
 
mult:Number (default = 1) — A value to multiply the angle by before adding the offset.
Method detail
dispose()method
public override function dispose():void

Disposes of the DisplayAttacher. Use this method only after you have removed the DisplayAttacher from the simulation. Or simply use unload()

update()method 
public override function update():void

Updates the attached DisplayObject. This function is automatically called by the engine.