Method | Defined By | ||
---|---|---|---|
Absolute(disp:DisplayObject, parent:DisplayObjectContainer):Point [static]
Returns the absolute point of an display object. | DisplayUtil | ||
HasEnded(mc:MovieClip):Boolean [static]
Returns if a MovieClip has reached the end of its timeline. | DisplayUtil | ||
RemoveAllChildren(disp:DisplayObjectContainer):void [static]
Removes all children of a display object container (Sprite, MovieClip, etc.)
| DisplayUtil | ||
RemoveFromParent(disp:DisplayObject):void [static]
Removes a display object from its own parent display container. | DisplayUtil | ||
RotateAround(disp:DisplayObject, offsetX:Number, offsetY:Number, toDegrees:Number):void [static]
Rotates a display object around a specific point. | DisplayUtil | ||
ScaleAround(disp:DisplayObject, offsetX:Number, offsetY:Number, absScaleX:Number, absScaleY:Number):void [static]
Scales a display object around a specific point. | DisplayUtil | ||
SpeedUp(mc:MovieClip, iIncrement:int, bLoops:Boolean = false):void [static]
Increases the speed of a MovieClip by skipping frames incrementally. | DisplayUtil |
Absolute | () | method |
public static function Absolute(disp:DisplayObject, parent:DisplayObjectContainer):Point
Returns the absolute point of an display object.
Parameters
disp:DisplayObject — The display object
| |
parent:DisplayObjectContainer |
Point —
|
HasEnded | () | method |
public static function HasEnded(mc:MovieClip):Boolean
Returns if a MovieClip has reached the end of its timeline.
Parameters
mc:MovieClip — The movieclip
|
Boolean —
|
RemoveAllChildren | () | method |
public static function RemoveAllChildren(disp:DisplayObjectContainer):void
Removes all children of a display object container (Sprite, MovieClip, etc.)
Parameters
disp:DisplayObjectContainer — The display object container
|
RemoveFromParent | () | method |
public static function RemoveFromParent(disp:DisplayObject):void
Removes a display object from its own parent display container.
Parameters
disp:DisplayObject — The display object
|
RotateAround | () | method |
public static function RotateAround(disp:DisplayObject, offsetX:Number, offsetY:Number, toDegrees:Number):void
Rotates a display object around a specific point.
Parameters
disp:DisplayObject — The display object
| |
offsetX:Number — The x position to rotate around
| |
offsetY:Number — The x position to rotate around
| |
toDegrees:Number — The rotation amount
|
ScaleAround | () | method |
public static function ScaleAround(disp:DisplayObject, offsetX:Number, offsetY:Number, absScaleX:Number, absScaleY:Number):void
Scales a display object around a specific point.
Parameters
disp:DisplayObject — The display object
| |
offsetX:Number — The x position to scale around
| |
offsetY:Number — The y position to scale around
| |
absScaleX:Number — The x scale amount
| |
absScaleY:Number — The y scale amount
|
SpeedUp | () | method |
public static function SpeedUp(mc:MovieClip, iIncrement:int, bLoops:Boolean = false):void
Increases the speed of a MovieClip by skipping frames incrementally.
Parameters
mc:MovieClip — The movieclip
| |
iIncrement:int — The amount of frames to skip
| |
bLoops:Boolean (default = false ) — Should we loop the movieclip?
|