Hi All,

First of all, great site. Lots of helpfull people on here.

I wonder if any anyone can help me. I am trying to create a menu that scrolls across the page, using a mask layer so only one heading at a time is visble. There are two buttons that control the scrolling of the menu left and right. At first i had a problem with the reversing of the Menu MC but solved that by searching this site.

The MC is 7 seperate headings. The idea is that once you hit the fordward/reverse buttons it scrolls to the next heading and stops. Sadly all i get after hitting the buttons is all 7 headings scroll past until the end (or start!) of the MC. I need to beable to get the heading to stop at the correct position until one of the directional buttons are hit again. Any ideas because i'm totally stuck!

I'm using Flash MX. I really am a numpty when it comes to AS so be gentle! And thanks to anyone that takes time out to check out this post.

This is the AS for the MC itself:

onClipEvent (load) {
stop();
var speed = 1;
var direction;
}
onClipEvent (enterFrame) {
if (direction == "ff") {
gotoAndStop(_currentframe+speed);
} else if (direction == "rr") {
gotoAndStop(_currentframe-speed);
}
}


And the forward button:

on (release) {
_root.MenuMC.direction = "ff";
}


And the back/reverse button:

on (release) {
_root.MenuMC.direction = "rr";
}

Cheers again!
Markio.