public function translate(dx:Number, dy:Number) : void { this.tx = this.tx + dx; this.ty = this.ty + dy; }