Jump to content
Search Community

c64

Members
  • Posts

    4
  • Joined

  • Last visited

c64's Achievements

1

Reputation

  1. Yes that's what I was looking for! Thanks!
  2. I wonder if that could be exposed via GSAP API so I could override set() function... onBeforeUpdate callback or something. I mean, what if GSAP engine would provide that callback with value that 'should' be set if Tween goes normally and user could modify that value and set it. I'm afraid of being unclear again, and probably should just read the sources and docs.
  3. Hello, guys! Thanks for your answers. Sorry for not being clear. But you got the idea, the autoKill property shoud do the the trick. I was not using ScrollTo plugin syntax, but created my tweens this way: TweenLite.to(this, 0.42, {scrollLeft: lefts, ease: Power1.easeInOut}). I don't know if it makes any difference.
  4. Hi! How could I check if tweened property was modifed outside by code or user interaction during the tween? There is scrollable div(s) on my page (actually price tables) with scrollLeft DOM property animated by TweenLite, but also scrollLeft is changed if user scrolls the div manually. I couldn't find a way to distinguish which of the following is the cause for scrollLeft change - tween processing or user interaction (each fires jquery event "scroll"). But I'd like to kill tween of the div if user starts scrolling so it stays under user control. Thank you..
×
×
  • Create New...