en en en en en en en en en en en en en en en en en en en en en fr en en en en en en en en en en en es en en en en fa en en en fa en en en en en en en en fa en en fa en en fa en en en fa en en fa en en en fa en pt en fa en en fa en it en en en en en en en en fr es en es kn en en en en en en en fr en en fa en en
the function to be called which will return a Point object defining the new coordinates (based on the target's coordinate space)
Show Inherited Public Methods
DynamicPinPoint(target:DisplayObject, getter:Function, liquidStage:LiquidStage = null)
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Use this to add an Event.CHANGE listener to find out when the PinPoint moves.
attach(target:DisplayObject, strict:Boolean = false, reconcile:Boolean = true, tweenDuration:Number = 0, tweenVars:Object = null, roundPosition:Boolean = false):void
Attaches a DisplayObject to a particular PinPoint (like TOP_RIGHT) so that any movement of the PinPoint will also affect the relative position of the DisplayObject.
Destroys the PinPoint, making it eligible for garbage collection.
Releases a DisplayObject from being controlled by LiquidStage after having been attached.
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Determines a PinPoint's coordinates according to any DisplayObject's coordinate space.
Forces an update of LiquidStage (useful if you manually changed this PinPoint's coordinates)
the function to be called which will return a Point object defining the new coordinates (based on the target's coordinate space)
public function get getter():Function
public function set getter(value:Function):void
public function DynamicPinPoint(target:DisplayObject, getter:Function, liquidStage:LiquidStage = null)
target:DisplayObject — target DisplayObject who is like the "parent" of this PinPoint (its coordinate system is used for the x and y values).
getter:Function — the function to be called which will return a Point object defining the new coordinates (based on the target's coordinate space)
liquidStage:LiquidStage (default = null) — Optionally declare the LiquidStage instance to which this PinPoint should be associated. If none is defined, the class will try to determine the LiquidStage instance based on the target's stage property (LiquidStage.getByStage()). The only time it is useful to specifically declare the LiquidStage instance is when you plan to subload a swf that uses LiquidStage into another swf that also has a LiquidStage instance (thus they share the same stage).