Jump to content
GreenSock

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

easy property firing back an undefined property error.

Recommended Posts

I have the following TweenMax script in my function.

TweenMax.to(e.currentTarget, 0.5, {y:TweenY, ease:Quint.easeIn});

 

But I get the following error:

Scene 1, Layer 'Script', Frame 1, Line 7 1120: Access of undefined property Quint.

 

The ease was a direct copy from the TweenMax generator on the website. If I remove the ease property, it works so what could be the issue?

Link to comment
Share on other sites

make sure you have the import for the eases.

 

import com.greensock.easing.*;

Link to comment
Share on other sites

make sure you have the import for the eases.

 

import com.greensock.easing.*;

 

yup yup, you're correct. That's what I forgot LOL The simple things are usually the answer :roll: . BTW This site is so quick to answer my questions, thank you so much for your help. I plan to make a donation to GreenSock, this tweenMax is awesome!

Link to comment
Share on other sites

you're welcome. glad to help.

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