Registration Point With Actionscript

I am using an object of type Loader to load a JPG…I now want to rotate that JPEG but it is rotating by the upper left corner…how can I move the rotational axis to the center of the image? Thanks.