Button within movie clip only playing one frame

Hi,

I have a button within a movie clip which has the following code:

on(release)
{
_root.gotoAndPlay(2);
}

However, it only plays the second frame on the main timeline and not the following ones. (There is no “stop();” command on this frame in my actions layer).

Why is this?