# Magnifying an Image on a mouse rollOver

**URL:** https://forum.kirupa.com/t/magnifying-an-image-on-a-mouse-rollover/204981
**Category:** flash
**Created:** [October 25, 2006, 3:44am UTC](https://forum.kirupa.com/t/magnifying-an-image-on-a-mouse-rollover/204981 "2006-10-25T03:44:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![icekomo](https://avatars.discourse-cdn.com/v4/letter/i/bcef8e/32.png) [@icekomo](https://forum.kirupa.com/u/icekomo)
#### Post date: [October 25, 2006, 3:44am UTC](https://forum.kirupa.com/t/magnifying-an-image-on-a-mouse-rollover/204981/1 "2006-10-25T03:44:59Z")

</div>

I was not able to find a thread on this, but I am sure it has been done. What I would like to do is have an image and roll over that image with say a box that would magnify everything in side the box, and the box gets its movements from my mouse movement.  
Does this make sense?  
Thanks

---

<div class="post-metadata">

### Author: ![Benek](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/benek/32/2899_2.png) [@Benek](https://forum.kirupa.com/u/Benek)
#### Post date: [October 25, 2006, 5:57am UTC](https://forum.kirupa.com/t/magnifying-an-image-on-a-mouse-rollover/204981/2 "2006-10-25T05:57:19Z")

</div>

You just need to overlay the normal image with a magnified version of that image, and then use a mask that attached to the mouse position to reveal part of the magnified image.

Try something like this: [http://www.freehandsource.com/\_test/lens.html](http://www.freehandsource.com/_test/lens.html)
