hi all,
ive done a search on this site and others but no joy.
i have a map in an mc that i want the user to be able to drag and zoom. ive found loads of examples of this and its easy enough to do. what im having troubles with is i dont want the user to be able to drag the map off the canvas of the page, or when you zoom in close and drag the map, then zoom out again, half the map is ‘hanging off’ the canvas. am i making sense? i think what im trying to say is i want to set restraints on the dragging depending on the zoom factor of the map.
thanks in advance.
- G :sure: