[static]
Returns the distance from the registration point of the specified
object to the bottom-most visible pixel, ignoring any region
that is not visible due to masking.
[static]
Returns the distance from the registration point of the specified
object to the right-most visible pixel, ignoring any region
that is not visible due to masking.
[static]
Removes all children of parent that match the specified type.
DisplayObjectUtil
Method Descriptions
getVisibleHeight
()
method
public static function getVisibleHeight(o:DisplayObject):Number
Since :
ReactorGUI 1.0
Returns the distance from the registration point of the specified
object to the bottom-most visible pixel, ignoring any region
that is not visible due to masking. For example, if a display
object contains a 100-pixel-high shape and a 50-pixel-high mask,
getVisibleHeight() will return 50, whereas DisplayObject's
"height" variable would yield 100.
The maximum measureable dimensions of the supplied object is
2000x2000.
Parameters
o:DisplayObject
Returns
Number
getVisibleWidth
()
method
public static function getVisibleWidth(o:DisplayObject):Number
Since :
ReactorGUI 1.0
Returns the distance from the registration point of the specified
object to the right-most visible pixel, ignoring any region
that is not visible due to masking. For example, if a display
object contains a 100-pixel-wide shape and a 50-pixel-wide mask,
getVisibleWidth() will return 50, whereas DisplayObject's
"width" variable would yield 100.
The maximum measureable dimensions of the supplied object is
2000x2000.
Parameters
o:DisplayObject
Returns
Number
removeChildrenByType
()
method
public static function removeChildrenByType(parent:DisplayObjectContainer, type:Class):DisplayObject
Since :
ReactorGUI 1.0
Removes all children of parent that match the specified type.