Jump to content
Search Community

realdreamer

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by realdreamer

  1. Hi, Thank You for your quick response. Incase, if I am setting an delay for multiple tweens, Can I combine all these tweens in a single tweens object?. Like below.. var test; test = TweenLite.from('h2', 1, { x: 150, opacity: 0 }); test.add(TweenLite.to('.box1', 1, { rotationY: '180deg', opacity: 1, x: '-30', delay: 2 }));
  2. Hi, I am newbie to GSAP, I've read the documentaion http://greensock.com/docs/#/HTML5/GSAP/TweenLite/ Here I see the play, pause reverse all the stuffs for tweenlite. So. I am trying to add multiple elements, like doing it in timelinelite. You can check the code pen url(used tweenlite JS not timline). Play, pause, reverse those stuffs work only for the single object tweens, or we can add multiple tweens in the tweenlite. When I try to add another tweens, animation is working but in console is throwing an error says that undefined is a function and duration info is not printing. So, kindly help me, whether am doing the right thing or not.
×
×
  • Create New...