Jump to content
Search Community

TimelineLite and Delay

robertnyc test
Moderator Tag

Recommended Posts

If you do

 

			 _timeline = new TimelineLite({paused:true,,delay:DELAY})
		_timeline.insertMultiple(tweens,0,TweenAlign.START,STAGGER);
		_timeline.play();

 

and then later do

 

		_timeline.gotoAndStop(0);

 

and then still later do

_timeline.play()

 

is the original delay respected? It seems that it's not -- that timeline starts without delay

Link to comment
Share on other sites

That is the correct behavior. When you gotoAndStop(0), that's putting the virtual playhead at the very beginning of the timeline, and then when you play(), it starts moving forward. It's not supposed to add any delay in there. If you want to include the delay, you can do restart(true).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...