Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

pr1ntr

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

3 Newbie

About pr1ntr

  • Rank
    Member
  1. I think this has to do with the fact that webpack has a define method as well module
  2. Nevermind, I am dumb. turns i had 2 elements with same ID! I need to not ID my svgs.
  3. I am having this same issue now. However the SVG is inlined to the DOM and is not under any circumstance display:none in any of its parents. Its really pissing me off. The weird thing is in this codepen it works fine: http://codepen.io/pr1nt_r/pen/MarYZr?editors=101 But on my site it NS_ERROR_FAILURE. I can't for the life of me figure out what is going on. Is there anything you guys can think of at all that could cause this if not the display:none issue? btw its pretty much impossible to debug GSAP midtween I had to go turning every tween off/on to figure out which one it was to e
  4. pr1ntr

    onUpdate Easing

    Found it: http://pastie.org/private/utwsu3j86f0erjj8onqesq is the answer. make a proxy object with a property value 0-1.
  5. pr1ntr

    onUpdate Easing

    Hi, I am trying to custom transform an svg polygon by feeding it the points arrays and have it add the difference on every frame between from to: http://pastie.org/private/owhlbo2kxu1rdiy48gjcaa So I want to be able to use the easing if one is provided (ie., in the call Cubic.easeOut) What is the best way to transform the values based on the ease?
  6. I totally understand the reasoning behind not "assuming" things. I have to stop myself from that all the time. But just for fun, here is my use case. So I have an animation in which is comprised of 4-5 distinct timelines that control what happens in some sequence. The sequence of these timelines varies upon the "in" or "out" of the total animation. so if the animation is going out I have to rearrange these timelines. What I tried to do initially is create all timelines in a paused state and assign them to vars of some object that is in charge of managing them. Then every time I want to animat
  7. I discovered today (unless im doing it wrong) that my paused tweens and timlines don't play when added to a timeline. They need to be manually unpaused. Is this a desired effect? Would you guys be open to implementing a switch? Thanks.
  8. turns out i needed a different overwrite
  9. I have a draggable instance that is responsive for page scrolling on tablet devices. When the onDrag events fire it runs a function that updates stuff on the page with its current position (0-1) and scrollTop/y to a method that delegates this information to tell stuff to parallax or trigger if it has gotten far enough down the page. A problem is starting to present that when onDrag fires this update method everything parallaxes fine however when onThrowUpdate runs it stops this particular parallax animation. I think it may have something to do with how the animations is run. Here i
  10. Is there a way to set a callback after instantiation of a TimelineMax object?
×