# Really stuck and confused, searched hard

**URL:** <https://forum.kirupa.com/t/really-stuck-and-confused-searched-hard/138729>\
**Category:** Uncategorized\
**Created:** [February 24, 2005, 9:05pm UTC](https://forum.kirupa.com/t/really-stuck-and-confused-searched-hard/138729 "2005-02-24T21:05:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdzines](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@kdzines](https://forum.kirupa.com/u/kdzines)\
**Post date:** [February 24, 2005, 9:05pm UTC](https://forum.kirupa.com/t/really-stuck-and-confused-searched-hard/138729/1 "2005-02-24T21:05:40Z")

</div>

Hey,

i have been trying to make a map that you can zoom in and out, pan (drag) but that you cannot take beyond a bounding box. I know this is a really common thing but i am stuck beyond belief! I’ve searched the c\*rp out of the forums and downloaded senocular’s flas on this. but man am i lost for ideas! The zooming and pannin are no problem, but i just can’t figure out (my logical brain has become mush) how to bound the map so that whatever the scale, it can’t be dragged off the ‘stage’. I have been playing with getBounds but as the map mc is scaling up and down, and the mask is static, i’m really lost.

Please. please help!!!

thanks so much.  
kd
