Thursday, April 19, 2012

AS3 Movieclip center rotation and top left X,Y points

I am creating a flash image cropper. I can resize and move a movieclip containing my image. This movieclip can also be rotated.



The problem I am having is that in order to crop the image properly I need the original X,Y coordinates at the point where the image is at 0 degrees. This is the moveable movieclip I am talking about.



Is there anyway I can take the rotation degree and the current top left X,Y and get the original point at 0 degrees?



Thanks for the assistance





No comments:

Post a Comment