Jump to content
Search Community

beliy333

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by beliy333

  1. Oh well that's just too simple! ;)

     

    Expanding on the question–do you see anything wrong with using either of those calls within my 'requestAnimationFrame' loop? I mean am I loading up the browser heavily by making it run those calls on repeat? Or is that a common practice when you're triggering events by scroll position and I shouldn't worry about it?

     

    Thanks,

    Yan

  2. For some reason when I use from or staggerFrom with requestAnimationFrame, the animation jumps and actually acts as if it's doing a "To" tween. When I use the code outside of my requestAnimationFrame, it works fine. Why is this? I need to use within a requestAnimationFrame because I trigger the tween when scroll is at a certain position and I need requestAnimationFrame to determine that position (I was advised that's the correct way to do it instead of attaching to scroll).

     

    Here's my tween:

    TweenMax.staggerFrom(".box", 1, { x:100, autoAlpha: .5}, .5);

    I made a quick codepen demonstrating this issue.

     

    Thanks,

    Yan

    See the Pen xZXLLV by anon (@anon) on CodePen

  3. Hi,

     

    Just subscribed as to Shockingly green account. Love how easy this is :)

     

    Sorry if this is a dumb question but I don't quite understand how to download and install the SVG morph plugin? I click the download button on the plugin page and use the cdn links but that doesn't seem to include the bonus plugins like SVG Morph. Please advice.

     

    Thank you!

    Yan

×
×
  • Create New...