Jump to content
Search Community

Tweenlite local/server

open test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello open, and Welcome to the GreenSock Forum!

 

Do you have an example of TweenLite not loading on your server. It could be a number of things. Are you loading from CDN or are the files localay on your server? This way we can see what the exact error you are seeing in the console!

 

Thanks :)

Link to comment
Share on other sites

It looks like you are missing the CSSPlugin since you are trying to animate autoAlpha which is used for opacity and visibility CSS property. Please try also loading it or just load TweenMax that includes CSSPlugin and other great GSAP plugins.

<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/TweenLite.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/plugins/CSSPlugin.min.js"></script>

or just load TweenMax:

<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/TweenMax.min.js"></script>

Does that help?

 

Reference:

 

CSSPlugin: http://greensock.com/docs/#/HTML5/GSAP/Plugins/CSSPlugin/

  • Like 4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...