I need to use action script to scale and object in the viewport. all the examples of this i find use the mouse position to start the even onclick. i do want to click on the button, but i want it to zoom from where it is not where the mouse it.
an example would be a map of the US. click on Texas and it would zoom to fill the viewport.
I know I can animate that with tweens, but I really don't want to do that.
Any hints in the right direction will be appreciated.