Jump to content
Search Community

easeParams not working

hellotherekevin test
Moderator Tag

Recommended Posts

I am trying to use the easeParams special property

 

TweenLite.to(mc_1, 1, {scaleY: 0, ease:Bounce.easeOut, easeParams:[0.5, 0.2]});

but I get an error message that says:

 

ArgumentError: Error #1063: Argument count mismatch on com.greensock.easing::Bounce$/easeOut(). Expected 4, got 6.
at Function/http://adobe.com/AS3/2006/builtin::apply()
at com.greensock::TweenLite/easeProxy()
at com.greensock::TweenLite/renderTime()
at com.greensock.core::SimpleTimeline/renderTime()
at com.greensock::TweenLite$/updateAll()

Do you know what I am doing wrong and/or how to address this?

Link to comment
Share on other sites

Elastic and Back are the only ones that do. You can check the Adobe docs for details and/or to find any other ones that may not exist in the com.greensock.easing package (you can use virtually any easing equation that uses the standard 4 parameters).

Link to comment
Share on other sites

  • 1 month later...

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