csk0921 / tweener

Automatically exported from code.google.com/p/tweener
0 stars 0 forks source link

Error when trying to use custom transition #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
You guy used 5 paramater for transition, but any custom function and/or 
Adobe flash easing function use 4, that throw a Error #1063

Here is the fix , in tweener class :

if(tTweening.transitionParams == null) {

    nv = tTweening.transition(t, b, c, d);
                                    } 
else {

    nv = tTweening.transition(t, b, c, d, tTweening.transitionParams);
                                    }

if the parameter is null, don't shoot it. So now i can use flash easing 
function and my custom :D:D

Original issue reported on code.google.com by kameleon...@gmail.com on 10 Mar 2009 at 5:26