Groups | Blog | Home
all groups > flash actionscript > january 2006 >

flash actionscript : Exponential Zoom


Rayden74
1/31/2006 10:44:19 PM
Hi, I am working on a map with zoom. I want the zoom to be exponential so it is
smooth at any scale, but I must admit I am struggling with the calculation.

The zoom returns the values:

100 = fully zoomed out
1800 = fully zoomed in

from these values I need an exponential calculation that will return

20=fully zoomed out
1= fully zoomed in

and of course every other value in between 100 -> 1800

Can anyone help me?
LA Flash Guy
2/1/2006 2:05:43 AM
AddThis Social Bookmark Button