Jump to content
Search Community

Romano

Members
  • Posts

    1
  • Joined

  • Last visited

Romano's Achievements

0

Reputation

  1. Hello I'm using TimeLineLite. When you resize the window, it is necessary to recalculate the offset. How to do it? Sample: var tl = new TimelineLite({paused: true}); var tweener = TweenMax.to($("#mylayer"), 10, {left: "-10%", delay: 1}); $(window).resize(function (e) { tweener.updateTo({left:"20%"}, false); }); updateTo - not working ( Can u help me?
×
×
  • Create New...