Posted By

tokunori on 10/23/06


Tagged

as


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

damarev
andrewrench
dazza


basic easing


 / Published in: ActionScript
 

  1. this.onEnterFrame = function(tx, ty, sp){
  2. var stsx = (Math.abs(Math.floor(tx-this._x))<-1);
  3. var stsy = (Math.abs(Math.floor(ty-this._y))<-1);
  4. if(stsx){
  5. ...
  6. }
  7. }

Report this snippet  

You need to login to post a comment.