Hi, would someone please give me the idea about how to implement this function in AS2.0:
It keeps zooming in/out while the buttons are pressed, and that makes the animation smooth, besides, the scaling is around the center point of the view window, not the center of the image.
thanks a lot~~
The basic idea involves placing a movieclip (of the image) inside another movieclip (empty-centered on stage). To pan the image you manage the x and y positions (or use drag/drop code) for the inner movieclip. For the centered zooming you change the _xscale/_yscale properties of the outer movieclip.