Jump to content
Search Community

Timeline .play() not working with Webpack

Josh Ablett test
Moderator Tag

Recommended Posts

2 minutes ago, Josh Ablett said:

i got the tweenmax file from UMD tweenmax cdn and then imported that file

So you're not using GSAP 3 at all, you're using an older version? GSAP 3 loads a gsap.js/gsap.min.js file. 

 

Again, please try to recreate a minimal demo of the issue so we can see exactly what's going on.

Link to comment
Share on other sites

the problem is with the timeline, I have a master Timeline then add another timeline to it and use the .play() method to play it. but it doesn't work with the Master timeline it just plays on page load. So why does using the old version affect this? sorry should of explained better.

 

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...