en en en en en en en en en en en en en en en en en en fa en en fr hbs_lat en en en es en en en ms en de en fr en en en ca en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en fr en en en en en en sv en en en en en en en en en en en sv en en en en en en en en en en en en en en en en en en en en en en en nl en es en fr en en en eu en de en en en pt en de en en en en en en en fr cv es tr es en en en en ms en en en en en en fr en hbs_lat en en en en en en en fr cv es tr es en en en en de en en en ca en en en en en
This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax.
I searched the forums and could not find a specific answer to this. I have a main timeline and nested timelines. I want to repeat the main timeline 3 times. Whenever I pass in the repeat parameters into the main timeline the whole thing breaks var mainTimeline = new TimelineMax(repeat:2, repeatDelay:20);
I am about to put everything into one timeline due to time constraints but wondering if anyone has a solve for this? Thanks!
I'm not sure if you have a typo in your question or that's the actual code you're using, but thought I'd look at the obvious first:
//you have var mainTimeline = new TimelineMax(repeat:2, repeatDelay:20); // but it should be var mainTimeline = new TimelineMax({repeat:2, repeatDelay:20});
Other than that, I'd have to see a CodePen to be of any help.
Share on other sites
cwiens    25 Likes (Newbie)
Posted June 27, 2016
OMGOSH. thanks. I have been off for a couple weeks and I guess I stopped looking at details, lol. THANKS!
Share on other sites
Create an account or sign in to comment
You need to be a member in order to leave a comment
Sign up for a new account in our community. It's easy!
Register a new account
Already have an account? Sign in here.
Sign in to follow this   Followers 1
Go to topic listing
Recently Browsing   0 members
No registered users viewing this page.
“This is why I have absolutely no issues with paying for a subscription to GSAP, great product and awesome forum!”
“I’ve long felt like GSAP is the best kept secret in JavaScript.”
“Truly, you folks on this forum are the nicest, least judgmental, helpful people I've ever encountered.”
“The GreenSock animation platform is one of the most useful sets of tools in existence when it comes to web animation.”
“Sincerely, the people behind GSAP are sorcerers”
“This stuff is so incredibly amazing I can't believe it. The level of details and options put into these things and the natural instinct GreenSock has for solving everyday problems is impressive.”
“Every time a new GSAP plugin is introduced, I'm close to bursting from excitement. The simplicity of the GreenSock API makes learning and applying these tools in projects such a dream.”
“Massive shoutout to GreenSock for having an amazing product with fantastic documentation, hugely talented support staff and an active and helpful community. If you do anything with web animation you should *definitely* be using them.”
“I've never worked with a product that has such fantastic and enthusiastic support. GreenSock is incredible in its own right, but the team behind it is really what makes it shine.”
Sign Up For Our Newsletter
Get the latest updates on GreenSock products, exclusive offers, and more right in your inbox.
Your information will always be kept confidential.
Thanks for signing up!
Now you'll begin receiving the latest GreenSock updates, exclusive offers, and more right in your inbox. Welcome aboard.