Helpp!

I’m creating a sliding image menu, the images scroll and are buttons within movie clips.

For some reason something isn’t working can anyone help??

I’m creating the button first and and adding the hit area etc and placing this action within it

on (press) {
gotoAndPlay (5);
}

then pressing f 8 and converting it to a movie clip with this action to make it scroll

onClipEvent (load) {
x = _x;
}
onClipEvent (enterFrame) {
scrollx();
}

When it comes to playing the movie the button has the little hand on it whe I enter the hit state so I assume that means its a button but when I click it it doesn’t go to frame 5.

Am i doing something wrong?