Re: [Flashcoders] Rotate, Scale and _x, _y

2007-08-31 Thread julian atienza
Thanks so much. I knew that source. But thanks anyway!!!

2007/8/31, Jack Doyle [EMAIL PROTECTED]:
 Not sure if it'll help, but check out
 http://www.greensock.com/ActionScript/TransformManager. It'll let the user
 scale, rotate, or move any MovieClip regardless of where its registration
 point is. Again, this might not be exactly what you're looking for but you
 could at least get some ideas from it.

 Jack

 -Original Message-
 Date: Wed, 29 Aug 2007 08:19:58 +0200
 From: julian atienza [EMAIL PROTECTED]
 Subject: [Flashcoders] Rotate, Scale and _x, _y
 To: flashcoders@chattyfig.figleaf.com
 Message-ID:
 [EMAIL PROTECTED]
 Content-Type: text/plain; charset=UTF-8

 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 dragdrop 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/54.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


Re: [Flashcoders] Rotate, Scale and _x, _y

2007-08-31 Thread Steve Mathews
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 dragdrop 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/54.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


RE: [Flashcoders] Rotate, Scale and _x, _y

2007-08-30 Thread Jack Doyle
Not sure if it'll help, but check out
http://www.greensock.com/ActionScript/TransformManager. It'll let the user
scale, rotate, or move any MovieClip regardless of where its registration
point is. Again, this might not be exactly what you're looking for but you
could at least get some ideas from it.

Jack

-Original Message-
Date: Wed, 29 Aug 2007 08:19:58 +0200
From: julian atienza [EMAIL PROTECTED]
Subject: [Flashcoders] Rotate, Scale and _x, _y
To: flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=UTF-8

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 dragdrop 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/54.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] Rotate, Scale and _x, _y

2007-08-29 Thread julian atienza
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 dragdrop 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/54.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