View Single Post
Old 08-03-2007, 16:14   #1 (permalink)
PixelLuv
Registered User
 
Join Date: Jul 2006
Location: Dallasish
Posts: 8
Scale a symbol with AS

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.
  Reply With Quote