Jump to content
Search Community

TimelineLite repeat not working

naianamaia test
Moderator Tag

Warning: Please note

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. 

Recommended Posts

Hi naianamaia,

 

Welcome to the forums!

 

I think there is an issue with your zipped file. All that I saw in your main.js file was a single line of code:

TweenLite.from(".fabrica", 400, {left:0px"});

And that line has a typo as well, it is missing the opening quotation mark for the left property (also 400 seconds is a very long time).

TweenLite.from(".fabrica", 400, {left:"0px"});

Have a look at the bellow example: it has a looping timeline, hopefully it will help you.

http://greensock.com/forums/topic/13867-loop-through-a-complete-animation-help/?hl=repeat#entry58520

  • Like 4
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...