Setting Dynamic Boundaries?

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

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