1 Reply Latest reply on Mar 24, 2008 1:28 PM by lindo_cafe

    Scrolling background on mouse movement

      Hi, Ive been looking for tutorials, but i cant really find any. Im try to create and environment where the background scrolls or moves depend on the movement of the mouse (only on the x-axis) so far i got it working, but the problem is it doesnt stop moving when the mouse stops moving. not sure how to stop it. ive tried making a function that deletes the onEnterFrame, but that doesnt work, it ends up stopping it completely and when i put my mouse back on the background the onEnterFrame doesnt work again. so.. how do i stop it from moving when the mouse stops?
      (**note, there are 3 different backgrounds) thanks