ActionScript for making interactive map

Someobody please help me to make interactive map.
I will use it in my website to make direction in map.

the function must be:

  1. when cursor go to any direction in the border of map. the image of mape will move direct to where cursor will move.
  2. when cursor out of the border map. the picture will move back to original place/position.

please help me.
i’m dead line to make this web. only this my problem.
thanks before.
please feel free to help me.:s: