Change Registration point at run time

Hello All
Does anyone here know how to change the registration point of a movie clip at run time using action script 3.0.
I have gotten a lot of code in the past but none of it worked and all of it was not for 3.0 but other versions.
Thanks in Advance