| Package | org.coretween |
| Class | public class TweenManager |
| Inheritance | TweenManager Object |
| Property | Defined By | ||
|---|---|---|---|
| fps : uint [static]
Sets or returns the current time based FPS. | TweenManager | ||
| paused : Boolean [static] [read-only]
Returns the paused state. | TweenManager | ||
| renderType : uint [static]
Use this property to change the default render type. | TweenManager | ||
| Method | Defined By | ||
|---|---|---|---|
This is the TweenManager class constructor. | TweenManager | ||
pause(... args):void [static]
Use this method to pause or resume all tweens that are currently under the
control of the tween manager. | TweenManager | ||
[static]
Use this method to register an object with the tween manager that implements
the Tweenable interface. | TweenManager | ||
release():void [static]
Releases the tween manager. | TweenManager | ||
resume():void [static]
Use this method to resume all tweens that where previously paused with the
TweenManager pause method. | TweenManager | ||
rewind():void [static]
Use this method to rewind all tweens that are currently under control of
the tween manager. | TweenManager | ||
unregister(tween:Tweenable):void [static]
Use this method to unregister an object with the tween manager that implements
the Tweenable interface. | TweenManager | ||
| fps | property |
fps:uintSets or returns the current time based FPS. Use this property to set CoreTween's internal time based rendering fps. The higher this value the more smooth your animations will be. Keep in mind however that the fps set through this property is no guaranteed interval. So for instance, when setting this value to 60 then the Flash Player will try to keep this fps but it is in no way guaranteed. When setting this value its range can be set from 0 to 60. the default value for this property is 60. Setting this property to zero will disable CoreTweens time based renderer.
public static function get fps():uint public function set fps(value:uint):void| paused | property |
paused:Boolean [read-only] Returns the paused state. When pausing the TweenManager all tweens that are currently under the tween managers control will be paused.
public static function get paused():BooleanSee also
| renderType | property |
renderType:uintUse this property to change the default render type. By default the type of rendering is set to Tween.FRAME and all Tween objects instantiated will have their rendering type set to Tween.FRAME. Setting this property allows you to change the default render type to Tween.TIME.
public static function get renderType():uint public function set renderType(value:uint):voidSee also
| TweenManager | () | Constructor |
public function TweenManager()This is the TweenManager class constructor. No instances of the TweenManager have to be created in order to use the TweenManager.
| pause | () | method |
public static function pause(... args):voidUse this method to pause or resume all tweens that are currently under the control of the tween manager. Calling this method when all tweens are paused will resume all tweens, reversing the paused state. However, calling this method when only some tweens are paused will not cause the paused tweens to resume, they will stay paused. Resuming the paused state of the tween manager will cause all tweens to be un-paused.
Parameters
... args |
See also
| register | () | method |
public static function register(tween:Tweenable):voidUse this method to register an object with the tween manager that implements the Tweenable interface. When an object is registered with it can be controlled and updated by the tween manager. Normally when an opject is registered it is automatically unregistered when the object's stop method is called or when the tween of the object is completed.
Parameters
tween:Tweenable |
See also
| release | () | method |
public static function release():voidReleases the tween manager. Use this method to shutdown the tween manager. If after releasing the tween manager its necessary to start the teen manager again, simply tell a Tween instance to start and the tween manager will be re-initialised.
| resume | () | method |
public static function resume():voidUse this method to resume all tweens that where previously paused with the TweenManager pause method. Calling this method will resume all tweens, also tweens that where previously not set to a paused state by the tween manager.
See also
| rewind | () | method |
public static function rewind():voidUse this method to rewind all tweens that are currently under control of the tween manager.
| unregister | () | method |
public static function unregister(tween:Tweenable):voidUse this method to unregister an object with the tween manager that implements the Tweenable interface. Normally it is not necessary to call this method manually. In normal circumstances it is called when a tweenable object is stopped or completed.
Parameters
tween:Tweenable |
See also