logo - back/forth
logo - back/forth
- Started
- Last post
- 3 Responses
- Buckyball2
I have 16 logos on a horizontal line in an mc. I want to code it so that when your mouse moves to the right of the screen the line of logos scrolls right to the last logo. And vice versa. Simple old school trick.
I picked up some code (yes admitting I don't know how to code this myself). It does what I want but only goes to about the 5 or 6th logo to the right or left.
Here is the code:
First frame:
difference = _xmouse - arrow._x;
arrow._x = arrow._x + (difference/delay);
menu._x = - arrow._x;
- Buckyball20
anyone?
- Mimio0
Maybe the _width of your logo MC isn't accurate when you calc the scrolling move?
- Buckyball20
I'll look into that. Thanks mimio.