Package | com.fileitup.fisixengine.graphics |
Class | public class DisplayAttacher3 |
Inheritance | DisplayAttacher3 ![]() |
Method | Defined 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 | ||
![]() |
unload():void
Removes the DisplayAttacher from the simulation and disposes of it.
| DisplayAttacher | |
update():void
Updates the attached DisplayObject.
| DisplayAttacher3 |
DisplayAttacher3 | () | constructor |
public function DisplayAttacher3(d:DisplayObject, anc:Vector, anc2:Vector, anc3:Vector, angOff:Number = 0, mult:Number = 1)
Creates a DisplayAttacher2.
Parametersd: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.
|
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.