Jump to content
GreenSock

anteksiler

Cannot read property 'greensock' of undefined

Moderator Tag
Go to solution Solved by Carl,

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

Hi everyone,

 

I am using the TweenMax.js file, but without doing anything, it gives me an error:

Uncaught TypeError: Cannot read property 'greensock' of undefined 
Link to comment
Share on other sites

  • Solution

Hi and welcome to the GreenSock forums.

 

Sorry to hear you are having problems.

 

We really need to see what you are doing in order to troubleshoot this. Are you sure you are using the latest version?

 

Please be sure to be using the latest (version 1.14.2)

https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js

 

You can test the version of your file by 1: view the source code comments at top, 2: add alert(TweenLite.version) anywhere in your code.

 

If you can confirm you are getting this error with the latest version, please

 

1: create a simple CodePen demo that we can see and edit: http://greensock.com/forums/topic/9002-read-this-first-how-to-create-a-codepen-demo/

2: zip your html file and post it here using the "more repply options" button.

 

Even, if you are using an older version, we would still like to see what's wrong.

 

Thanks

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.
×