# Map goes off page

**URL:** <https://forum.kirupa.com/t/map-goes-off-page/165901>\
**Category:** Uncategorized\
**Created:** [October 14, 2005, 10:34pm UTC](https://forum.kirupa.com/t/map-goes-off-page/165901 "2005-10-14T22:34:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wdv](https://avatars.discourse-cdn.com/v4/letter/w/9fc29f/32.png) [@wdv](https://forum.kirupa.com/u/wdv)\
**Post date:** [October 14, 2005, 10:34pm UTC](https://forum.kirupa.com/t/map-goes-off-page/165901/1 "2005-10-14T22:34:25Z")

</div>

can someone take a look at the attached .fla, i managed to create a map that moves with the keyboard arrows but now, I noticed that the map doesnt stop at the edges. if you move it to any far side it keeps going off the page. is there a action script to tell the mc to stop once it reaches the end of the map?

Any suggestions or tutorial link?
