# Constrain Dragging of Dynamic Image

**URL:** https://forum.kirupa.com/t/constrain-dragging-of-dynamic-image/209710
**Category:** flash
**Created:** [December 11, 2006, 8:03pm UTC](https://forum.kirupa.com/t/constrain-dragging-of-dynamic-image/209710 "2006-12-11T20:03:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![LaSpisa79](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@LaSpisa79](https://forum.kirupa.com/u/LaSpisa79)
#### Post date: [December 11, 2006, 8:03pm UTC](https://forum.kirupa.com/t/constrain-dragging-of-dynamic-image/209710/1 "2006-12-11T20:03:58Z")

</div>

I created a dynamic zoom tool in Flash and am having a problem trying to constrain the image that is pulled in, to the stage. Meaning that I should not be able to see the stage what so ever once the image has loaded. Right now if you run the fla, you can drag the image off the screen. You can find the source files here…

[www.americaneagle.com\previews\kirupa\zoom\_tool.zip](http://www.americaneagle.com%5Cpreviews%5Ckirupa%5Czoom_tool.zip)

Please let me know a work around, and repost if possible. Thanks.

You can re-send the files to [RLaSpisa79@aol.com](mailto:RLaSpisa79@aol.com) with comments in the code.
