Zoom in/out/drag code

Hi peeps, I’m looking for some open source code, or a tutorial that explains how to create a swf that zooms into the spot the user has just clicked (preferably with a tween), then the user can drag the image around, and then click again and zoom out.

Does anyone know where this might exist?

Any help would be very much appreciated.

Thanks