draggable map perimeter - how to make perimeter?
Hey guys,
I'm trying to build this interactive map that is draggable in a mask, but I want the drag to stop at the edge of the map jpeg so it doesn't send it out of the mask.,..how is this done?...anyone know?
Thanks
Senior Member
The startDrag call accepts optional parameters for rectangular bounds for the drag.
Full parameters are:
mc.startDrag(lockCenter, left, top, right, bottom )
So you would want to figure out where left,top,right and bottom are (relative the parent (_root?) of the clip you're dragging.
I'm not sure where to put that code at...
here's the file I'm workin with.
Attached Files
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width