2 Replies Latest reply on Aug 27, 2008 5:04 PM by Maxwell_Hammer

    Scroll background image???

    Maxwell_Hammer
      My background image (945 px wide) is larger than my Flash window (620 px wide). When a user moves the cursor left or right, I want the background image to move in that direction but only as far as the edge of the image and when the cursor stops moving so should the image. I will also have hot spots in various places that will be clickable. I tried this code (see below), but it doesn't quite do what I need. For one thing it continues to scroll beyond the left and right edge of the background image. Another problem is that the image keeps moving even though the cursor stopped, which make it near impossible to click on my hotspots.