Change Transformation point with AS?

Is there any way to dynamically change the Transformation or registration point of a MC with AS3? I’m trying to dynamically create shadows behind clips that skew to follow the sun.