Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Elindo

Why are my timelines not isolating?

Recommended Posts

Do I need to wrap them in some sort of brackets?   If so, how do I do that?

 

The timing and sequence for each timeline is now exactly how I wanted it.

 

I added  overwrite:true for each timeline, so it would kill any conflicts with other timelines.

and I added .kill() for each button so it would kill the other buttons.

var start = gsap.timeline ({paused:true, overwrite: true});
btnstop.onclick = () => 
stop.play();
extend.kill
retract.kill

 

The problem is that the buttons and timelines are not killing the actions of previous timelines, even after I added specific details to do this job.. 

 

ALSO, for some reason the timelines are working only once per each loading of the page... 

 

 

 

See the Pen xxrbWyY by Elindo586 (@Elindo586) on CodePen

Link to comment
Share on other sites

Please don't double post.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×