# Setting Dynamic Boundaries?

**URL:** <https://forum.kirupa.com/t/setting-dynamic-boundaries/319858>\
**Category:** flash\
**Created:** [March 7, 2011, 7:02am UTC](https://forum.kirupa.com/t/setting-dynamic-boundaries/319858 "2011-03-07T07:02:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![macrar1010](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@macrar1010](https://forum.kirupa.com/u/macrar1010)\
**Post date:** [March 7, 2011, 7:02am UTC](https://forum.kirupa.com/t/setting-dynamic-boundaries/319858/1 "2011-03-07T07:02:40Z")

</div>

Hi,

I downloaded an interactive (AS2 )map from Active Den and am trying to modify it a little.

[http://vnd-ink.com/Pat/main/index1.html](http://vnd-ink.com/Pat/main/index1.html)

Mouse over the lower left “Red X” to see the issue.

The pop ups are being cut off … if they appear at the edge of the map.

I posted the action script & XML at the bottom of the page.

There is a setting in the XML that keeps the map within it’s boundaries … if I turn it off, I can move the map to see the pop up … but that defeats the purpose.

I don’t know how to modify the AS to keep the pop up’s inside the boundaries.

If someone does … that would be AWESOME!

Thanks
