# Zoom in/out/drag code

**URL:** https://forum.kirupa.com/t/zoom-in-out-drag-code/255325
**Category:** flash
**Created:** [March 21, 2008, 5:28am UTC](https://forum.kirupa.com/t/zoom-in-out-drag-code/255325 "2008-03-21T05:28:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![leisuresuitlissy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/leisuresuitlissy/32/2109_2.png) [@leisuresuitlissy](https://forum.kirupa.com/u/leisuresuitlissy)
#### Post date: [March 21, 2008, 5:28am UTC](https://forum.kirupa.com/t/zoom-in-out-drag-code/255325/1 "2008-03-21T05:28:55Z")

</div>

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
