AS3 TextField transformation problem

Hi, I’m developing a flash product designer… one of it’s features is that customers can add their own text to product and they can move it, resize it, rotate it… but I have one problem - text is stored in dynamic TextField with embed fonts, it’s created dynamically from Actionscript, but it’s registration point is set to upper left corner, is there any way to transform it around center? I mean resizing and rotating around center. thanks for help