How to make movie buttons jump in timeline

This is a bit of a newbie question:

I have given 5 frames on my timeline labels of (001,002,003,004,005)

I have a movie button and I want to tell that button that on release to go to the next label. And if it’s on a label, to go to the next… and if it’s on the last to loop around to the first. (kind of like a fast-forward button). I can make it go to the first, but not the sequential ones. I know this must be easy, but can’t get it to work. Anyone know?

This is what I have so far:

on (release) {
gotoAndPlay(“001”);

if (true)
gotoAndPlay(“002”);

but the code above just makes it jump to label “002”