Jump to content
Search Community

Leaderboard

Popular Content

Showing content with the highest reputation on 12/24/2017 in all areas

  1. Tweens cannot be changed once they are defined. You will have to regenerate the tween when it completes or you can use modifiers plugin to achieve same thing but changing too many values will make your code complex because you will need to write callback function for each property. Following threads discuss same ideas, you can find examples for both approaches.
    2 points
  2. Hi chapolote Adding to Sahil's answer... You can use the onComplete event to trigger a new timeline and use that as a "repeat" where you initialize it with new values.
    1 point
  3. You don't have to say sorry, it's alright. It will just give you unexpected results when you switch to latest version or some of the features won't work in old files, so best is to check which files you are using.
    1 point
  4. CommaClub is a real thing. You just have to follow the rules. 1st Rule: You do not talk about COMMA CLUB. 2nd Rule: You DO NOT talk about COMMA CLUB. For anyone missing the joke -- check out one of my all-time favorite films: 'Fight Club'. It's the perfect feel-good movie for the holidays. Merry Christmas everyone!
    1 point
  5. Here is the demo, you can add more conditions to determine what is closest number while dragging using onDrag, onThrowUpdate callback. Also, how do you create your demos? I think I pointed out to you previously as well that you were using really old version of everything. Your current demo was using 1.17.0 which I guess is older than 2 years. Always make sure you are using latest files, easiest way is to google 'GSAP cdn' which will show you links from cdnjs to all non-club files. To get links to club files visit this pen https://codepen.io/GreenSock/pen/OPqpRJ Which still points older files by version or two but still better than using year old files.
    1 point
×
×
  • Create New...