# Help with Zoom?

**URL:** https://forum.kirupa.com/t/help-with-zoom/184797
**Category:** flash
**Created:** [April 7, 2006, 10:25pm UTC](https://forum.kirupa.com/t/help-with-zoom/184797 "2006-04-07T22:25:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![xylem001](https://avatars.discourse-cdn.com/v4/letter/x/ccd318/32.png) [@xylem001](https://forum.kirupa.com/u/xylem001)
#### Post date: [April 7, 2006, 10:25pm UTC](https://forum.kirupa.com/t/help-with-zoom/184797/1 "2006-04-07T22:25:54Z")

</div>

Hi - looking for some help with a problem I have with a zooming technique?

I have created a button, which allows an object to be zoomed in on - however I want the object to be restricted so as it will stay within a certain area of the screen for example in a small box and not take over the entire screen when u zoom in?

I have attached the swf file so as you can get a better idea of what Im talking about/

Hope someone has the answer to this?  
Thanks

---

<div class="post-metadata">

### Author: ![mprzybylski](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mprzybylski/32/613_2.png) [@mprzybylski](https://forum.kirupa.com/u/mprzybylski)
#### Post date: [April 7, 2006, 10:50pm UTC](https://forum.kirupa.com/t/help-with-zoom/184797/2 "2006-04-07T22:50:53Z")

</div>

well you’ve got to know the bounds of the amount that you want to zoom and just don’t set the zoomed in amount higher than your bounds… i’m assuming you’re using the Tween class to zoom in so just set the final value to be lower than what you currently have.
