Interactive image panning

Hi, I have just completed your tutorial on interactive image panning (http://www.kirupa.com/developer/flash8/interactive_image_pan3.htm), however i have a couple of question i was hoping someone might be able to help me with:

  1. when i move the mouse, the image scolls the opposing direction; in the tutorial the image scrolls with the mouse…? i pasted the code from the page,so i’m unsure what the solution might be…
  2. I would like to be able to scroll the image on the x and y axis; both up and down/left and right, and was wondering how to modify the code to do this; is it possible to capture whether the mouse is moving left or right with an event listener, or is there some other way of doing this?

any help would be much appreciated, thanks!