# Easing trouble whats wrong?

**URL:** <https://forum.kirupa.com/t/easing-trouble-whats-wrong/165609>\
**Category:** Uncategorized\
**Created:** [October 12, 2005, 3:06pm UTC](https://forum.kirupa.com/t/easing-trouble-whats-wrong/165609 "2005-10-12T15:06:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![argentik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/argentik/32/1595_2.png) [@argentik](https://forum.kirupa.com/u/argentik)\
**Post date:** [October 12, 2005, 3:06pm UTC](https://forum.kirupa.com/t/easing-trouble-whats-wrong/165609/1 "2005-10-12T15:06:01Z")

</div>

hi all…  
i dont understand why the easing effect doesnt work on my movieclip\_mc ? I see so much fantastic effects we can do but tutorials are not really clear about easing : too much theory and not so much practical demos

I m sure something like a basis position and an end position are missing?.. if u can help it would be wonderful… thanx all  
A.M.(-:

> 

movieclip\_mc.onEnterFrame = function(){  
Ease.bounce = function (t, b, r, m, e) { // t, b for number of bounces, r for reduction of bounce (between 0-1), m for ease method, e for ease type  
if (!b) b = 1;  
if (!r) r = 0;  
if (!m) m = Ease.exponential;  
if (!e) e = Ease.inUsing;  
var es = b_2 + 1; // number of eases  
b = Math.floor(t_es); // which bounce  
var et = t_es - b; // ease t  
var rt = 1-Math.pow(1-t, 2);  
var rf = 1 - r_rt;  
return ((b + 1)%2) ? r\*rt + e(m, et)_rf : r_rt + e(m, 1 - et)\*rf;  
}  
};
