Skip navigation
Nour El-Din Elba
Currently Being Moderated

Horizontal scrolling use MOUSE_MOVE event problem

Jul 11, 2012 1:23 AM

Hi, I have a a thumbnail scroller that scrolls images horizontally and inverted when I move the mouse.


It works fine on its own, and is giving me the results I want, but whenever I put it in my project, it won't scroll properly.


Like, the scrolling is the same, but it doesnt just scroll the thumbnails anymore, it scrolls everything. The background image, page title, etc.


I'm sure I did something wrong, because I think this his been implented before with no problems, any ideas?



P.S  When I put the scroller on the main timeline, this problem doesn't happen. It only occurs when I put it within a movieclip.




In the main timeline i have a movieclip named mainContainer.



In the main Container movieclip, frame 1, this the code.









var panelContainer:Sprite = new Sprite;

panelContainer.x = 1500;







It moves the panelContainer just fine, but it also moves images and text from the main timeline as well.

  • Currently Being Moderated
    Jul 11, 2012 4:27 AM   in reply to Nour El-Din Elba

    Chances are the problem lies in the code for the scroller that you are not showing.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points