There isn't a way to rotate without changing the x and y. But it is all just math. Here are a couple resources you could look at.
http://jobemakar.blogspot.com/2007/06/rotating-around-point.html http://www.senocular.com/flash/tutorials/transformmatrix/ Steve On 8/28/07, julian atienza <[EMAIL PROTECTED]> wrote: > Hello everybody. > > I'm ending one small project that handle images and make possible to > do zoom, rotate (from 90 degrees to 90 degrees) and move this images > by drag&drop when images are bigger than screen. > > I have a problem with rotate. Zooming is easy thus this doesn't change > my _x and _y, but yes my _width and _height. But everytime i rotate, > it changes my _x and _y and is a little confused to make operations > that i used to do like localToGlobal (to know center of screen respect > image and zoom from there), startDrag (to mark limits), and a much > more... there is anyway to rotate without changing _x and _y??? i > tried to copy image with bitmapData and apply a matrix with rotation, > but is the same situation... > > I'm using this classes from Darron Schall: > http://www.darronschall.com/weblog/archives/000054.cfm > > It helps me to move my Dynamic Registration (center of movieclip) and > zoom or rotate from there but... _x (and _x2 in the case) also > change... > > any help? thanks in advance... > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com