Drag and zoom movie clip

Hi all of the Flash expert all around the world ! I need help from all you guys.

I was trying to do a Interactive map using flash MX. But It seen like having some

problems.

  1. the map can be drag for the specific area only because I just draw 1/3 of the

map.the rest i dont want to be show in the flash movie. so i dont want it to be drag

until they can see the rest of the area, because it’s look not nice. Even I use the

rectangular constraint in the flash but when the i click the zoom button it will

disturb the drag again… pls help me !

I hope you guys can understand what i am talking ,you can download the fla file from

here http://www.geocities.com/pekingdragon/map.zip
(point the link right click and select save target as…)

or you can view this website :::

http://www.geocities.com/pekingdragon/map.htm

and help me to test for this map. thank you !

Your help will be kindly appreciate !

hmm… so you want a rectangular restraint that changes depending upon the size of the map.

I’ll take a look at this. Sounds interesting.

:alien:
I had solve the problems , but it seen like still got some bugs!

  1. When It zoom into very detail part of the map and drag it ,zoom out again the map will not back to the same location (x,y). Why?

  2. When I press the zoom button, the scale of the map will diffrent from the original map.

you can view this website :::

http://www.geocities.com/pekingdragon/map.htm

and help me to test for this map. thank you !

Your help will be kindly appreciate !

you can download the fla file from