naianamaia

TimelineLite repeat not working

Recommended Posts

I am using TimelineLite to animate a banner but I'm not able to do the banner stay in looping.

The animation is working just fine but the restart line doesn't work.

Someone help me please?

 

 

300x250 2.zip

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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.