Scrollmagic: Uncaught Type Error, .setTween is not a function.

Created on 8 Sep 2016  路  1Comment  路  Source: janpaepke/ScrollMagic

Hello, I just started to learn using scrollmagic. And I faced first obstacle to overcome...

So, I tried to replicate one of examples, http://scrollmagic.io/examples/advanced/advanced_tweening.html to understand how it works. However, in my javascript console, it says "Uncaught TypeError: (intermediate value).setTween is not a function".

I have searched to fix this error and followed https://github.com/janpaepke/ScrollMagic/issues/296 this thread. But it did not solve the problem...

Below codes are how did I load javascript from cdn.. Any suggestions for me to resolve this issue??

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/jquery.gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5/ScrollMagic.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5/plugins/animation.gsap.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/plugins/CSSPlugin.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5/plugins/debug.addIndicators.js"></script>

Thank you

Most helpful comment

Better late than never, you need this for it to work:
http://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5/plugins/animation.gsap.js

>All comments

Better late than never, you need this for it to work:
http://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5/plugins/animation.gsap.js

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Electrofenster picture Electrofenster  路  4Comments

cpouldev picture cpouldev  路  4Comments

ch3rr1 picture ch3rr1  路  4Comments

neversion picture neversion  路  4Comments

josespinal picture josespinal  路  7Comments