04Sep Substantial TweenMax Update 2.19
743 views
TweenMax patch notes and updates listed below:
Note: I have bold some of the cool API additions made.
* auto overwriting – You’ll probably never have to type “overwrite:false” again! TweenMax automatically includes all the capabilities in the new OverwriteManager class. By default, only overlapping properties in other tweens of the same object are overwritten. There are actually 4 options for overwriting now. Read more below.
* setDestination() – Change destination values anytime. For example:
//then later, if you need to change the tween so that the "x" property tweens to 100 instead of 500...
myTween.setDestination("x", 100); //even if the tween is in progress, the value will be updated
* timeScale - Slow down or speed up a tween anytime. Half-speed would be 0.5, double-speed would be 2, etc.
* reverse() – Not only does reverse() cause the tween to return to its starting values, it optionally adjusts the duration and the easing equation to look fluid (instead of simply swapping the start/end values in the tween which can cause abrupt jerking).
* restart() – ‘Nuf said.
* killProperties() – When tweening multiple properties, you can selectively kill individual properties of a TweenMax tween.
* yoyo – To make the tween continuously loop backwards and forwards like a yoyo, set this to true.
* loop – To make the tween continuously loop itself, set this to true.
Link: http://blog.greensock.com/tweenmaxas3/
Auto-Generated Related Posts:
