Jump to content
GreenSock

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

Custom ease

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 trying to use a gsap library in Framer Studio environment. Can't set custom ease to work. Get the error:" can't find the variable". Other easing types work fine. Help, somebody?!

 

Link to comment
Share on other sites

Hello @Karina and welcome to the GreenSock forum!

 

Sorry your having an issue. Can you please post some code or codepen example so we can see some context. This will be hard to debug without seeing any code you have tried or how you are writing it.

 

Thanks! :)

  • Like 1
Link to comment
Share on other sites

It sounds like you probably just don't have the CustomEase file loaded (?)

 

Just a guess. Like Jonathan said, it'd be super helpful to see a reduced test case. 

 

Happy tweening!

  • Like 1
Link to comment
Share on other sites

Thanks for replying! I downloaded the latest release and copied it into my project folder. 

I am using Framer Studio. 

Capture.JPG

Link to comment
Share on other sites

I'm not quite sure how you're loading CustomEase into the Framer environment, but it sure does sound like that's the core issue - it's not loading CustomEase. Remember, CustomEase is in the "easing" folder of the download zip. 

 

How are you loading TweenMax exactly? Does Framer just look for any JS files in the root directory, so if TweenMax is there it loads it? (Sorry, I'm not familiar with Framer). 

  • Like 1
Link to comment
Share on other sites

I think so, don't know much myself, I am just a user:) Other things seem to work, including other types of easing, that I tried. It's probably something about interaction with Framer.. Will ask at Framer forum too. Thanks for helping anyway!

Link to comment
Share on other sites

Yeah, maybe ask the Framer folks. You could also try taking the CustomEase file out of the "easing" folder and putting it in the root directory alongside TweenMax. Just guessing. 

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