Zooming into Vector

All,

I’m attempting to make a flash file that zooms into a vector image of a map. For example, having a whole map of the United States then clicking New Jersey and having the stage zoom to fit only New Jersey.

I started to achieve this with tweening (which didn’t work, which is why I’m posting my code), but I feel like there has to be a better way. I’ve been looking at fl.transitions.* any good tutorials out there on how to use this?

–Thesprucegoose

import flash.events.MouseEvent;
import fl.transitions.*;
import fl.transitions.easing.*;


btn_zoom.addEventListener(MouseEvent.CLICK, zoomIn);
btn_back.addEventListener(MouseEvent.CLICK, zoomOut);

function zoomIn (e:MouseEvent):void{
gotoAndPlay(2);

}

function zoomOut (e:MouseEvent):void{
gotoAndStop(1);
}