Noob Q- how to stop and loop

Hi all,

I am very new to Flash.

When I press cntrl+enter and play the animation, I want to stop at a certain frame (i.e. frame 30) and then loop back to frame 1.

The idea is that the animation would play over and over until the viewer presses a button.

Thanks so much!