# AS3 - Directing the over-size image by mouse

**URL:** <https://forum.kirupa.com/t/as3-directing-the-over-size-image-by-mouse/302065>\
**Category:** flash\
**Created:** [December 21, 2009, 9:50am UTC](https://forum.kirupa.com/t/as3-directing-the-over-size-image-by-mouse/302065 "2009-12-21T09:50:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhmtlgrr](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mhmtlgrr](https://forum.kirupa.com/u/mhmtlgrr)\
**Post date:** [December 21, 2009, 9:50am UTC](https://forum.kirupa.com/t/as3-directing-the-over-size-image-by-mouse/302065/1 "2009-12-21T09:50:32Z")

</div>

Hi folks, this is Mali;

I have a question for you. My exact problem is shown on this link: [http://activeden.net/item/xml-zoom-gallery/68800](http://activeden.net/item/xml-zoom-gallery/68800)

In the image part, the big image is floating at the opposite direction of the mouse movement. And image stops floating when the container and the image border crosses eachother.

How can I achive this with AS3?? I can not construct the code. Could you help?
