# "Smooth panning magnifier" how to?

**URL:** https://forum.kirupa.com/t/smooth-panning-magnifier-how-to/272852
**Category:** Uncategorized
**Created:** [October 8, 2008, 9:29pm UTC](https://forum.kirupa.com/t/smooth-panning-magnifier-how-to/272852 "2008-10-08T21:29:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hamidasim](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@hamidasim](https://forum.kirupa.com/u/hamidasim)
#### Post date: [October 8, 2008, 9:29pm UTC](https://forum.kirupa.com/t/smooth-panning-magnifier-how-to/272852/1 "2008-10-08T21:29:15Z")

</div>

here is the sample :

[http://www.ozcay.com/index1.html](http://www.ozcay.com/index1.html)

link is BUYUTECLI GALERI - GALLERY WITH MAGNIFIER

I use simple codes for classic magnifier trick. but which codes I must use for this type of magnifier ?

here is my codes in “lens\_mc” in \_root

setProperty(“largeobject”, \_x, (getProperty("/original", \_x)-\_x)\*2);  
setProperty(“largeobject”, \_y, (getProperty("/original", \_y)-\_y)\*2);

and codes for drag magnifier  
on (press) {  
startDrag("/lens");  
}  
on (release) {  
stopDrag();  
}

that’s it. and here is the fla.
