code:
_x = Math.easeinoutquad(currframe, fromx, tox, dur);
_y = Math.easeinoutquad(currframe, fromy, toy, dur);
scale = Math.easeinoutquad(currframe, fromh, toh, dur);
newr = Math.easeinoutexpo(currframe, fromr, tor, dur)
newg = Math.easeinoutexpo(currframe, fromg, tog, dur)
newb = Math.easeinoutexpo(currframe, fromb, tob, dur)
code:
quad = Math.easeinoutquad(currframe, 0, 1, dur);
expo = Math.easeinoutexpo(currframe, 0, 1, dur);
_x = fromx+(tox*quad);
_y = fromy+(toy*quad);
scale = fromh+(toh*quad);
newr = fromr+(tor*expo);
newg = fromg+(tog*expo);
newb = fromb+(tob*expo);