var m:Matrix = new Matrix(); m.rotate(....); m.translate(hero.widht * -0.5, hero.height * 0.5); hero.transform.matrix = m;