var obj:BaseObject = e.target as BaseOBject; if(!obj.animator) obj.animator = new Animator(obj); obj.animator.goTo (x,y);