i have a vector image, on which i’ve placed several invisible buttons. what id like to do, but am not sure about, is code each button so that on release, it zooms in directly on the button area itself (having the button end up centerscreen would be ideal).
im currently using the following code with a nice easing effect, but im not sure how to controll where the zoom takes place.
on(rollover)
this.onEnterFrame=function()}
this._xscale+=(200-_xscale)/10;
this._xscale+=(200-_yscale)/10;