Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Jeremy Rudd

How to use easeParams effectively?

Recommended Posts

Hi all,

 

This is more of a user question rather than a technical one.

 

Can you give me some usage examples of easeParams?

 

Currently I think its only used for complex equations that need such params, although I still don't know how or when you'd use these config parameters :

a Amplitude
p Period 
o Overshoot

 

Thanks

Share this post


Link to post
Share on other sites

Note: easeParams has been deprecated in v12 in favor of the easier to use config() method that's attached to the eases that accommodate customizations. For example,

 

//OLD:
ease:Elastic.easeOut, easeParams:[1.3, 0.25]

//NEW:
ease:Elastic.easeOut.config(1.3, 0.25)

 

As for what they do, there's a general description in the the ASDoc comments of the AS file (and you can check Adobe's docs, like for Elastic see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/motion/easing/Elastic.html#easeOut()), but I'd recommend just playing with the numbers and seeing what happens (after you've read the general description from the docs). That's usually the best way to learn (at least for me). If there's a specific question, feel free to post it here and we'll do our best to help out.

Share this post


Link to post
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.

×