PDA

View Full Version : Tween class question



ParanoidAndroid
December 16th, 2008, 12:18 PM
hi
i have several elements that have tweened animations, all of them starting at the same time. one last element should start the tweening some moments later. is it a way to start the animation after a specified time??? i don't want to user the timer class. i read the reference and all the methods and of properties of the tween class and none is useful to me. i just want a method to tell the tween to start at a specified time. is there a way to do this in a simple way?
thanks for your help

Felixz
December 17th, 2008, 02:02 PM
Well TweenLite has that ability, but it uses a timer internally

greensock
December 17th, 2008, 10:09 PM
Actually, all the internal stuff in TweenLite is driven by an ENTER_FRAME event, not a Timer. There is, however, a timer used internally for garbage collection.

What you're trying to accomplish should be as simple as using the "delay" special property in TweenLite/FilterLite/Max. http://www.TweenLite.com or http://www.TweenMax.com.

You may also want to consider looking at TweenGroup which makes sequencing and managing groups of TweenLite/FilterLite/Max instances really easy. http://www.TweenGroup.com