all groups > flash actionscript > may 2007 >
You're in the

flash actionscript

group:

zooming with a fixed registration point


zooming with a fixed registration point burritobot
5/31/2007 7:41:26 PM
flash actionscript:
I have a scrollbar that I use to adjust the x and y scale of an MC. The problem
is, it scales relative to the upper left corner (0,0) registration coodinates.

Is there a way to change these coordinates, so it is always scaling relative
to the center position of the viewing window, without having to re-position all
the contents of my MC to the center?

Additionally, I would like to drag the MC around, so that the center position
adjusts as the MC id being dragged around.

I think the same solution would solve both problems.

Pls visit this link, to see what I'm talking about:
http://www.joeencarnacion.com/dolby/test.html

Thanks in advance.

Re: zooming with a fixed registration point dzedward
5/31/2007 8:43:34 PM
Re: zooming with a fixed registration point burritobot
5/31/2007 8:57:14 PM
Re: zooming with a fixed registration point dzedward
5/31/2007 8:59:28 PM
[Q]Is there a way to change these coordinates, so it is always scaling relative
to the center position of the viewing window, without having to re-position all
the contents of my MC to the center?[/Q]
what i said will change the registration coordinates
AddThis Social Bookmark Button