Display list utility functions.

Available since

1.0.0

.

Static methods

staticgetConcatenatedScale(target:DisplayObject, ?result:Point):Point

Calculates the concatenated scaleX and scaleY from the target display object to the stage.

Available since

1.0.0

.

staticgetConcatenatedScaleX(target:DisplayObject):Float

Calculates the concatenated scaleX from the target display object to the stage.

Available since

1.0.0

.

staticgetConcatenatedScaleY(target:DisplayObject):Float

Calculates the concatenated scaleY from the target display object to the stage.

Available since

1.0.0

.

staticgetDisplayObjectDepthFromStage(target:DisplayObject):Int

Calculates how many levels deep the target object is on the display list, starting from the stage. If the target object is the stage, the depth will be 0. A direct child of the stage will have a depth of 1, and it increases with each new level. If the object does not have a reference to the stage, the depth will always be -1, even if the object has a parent.

Available since

1.0.0

.