How to loop through frames

Hi I have a question I want to be able to loop using gotoAndPlay 3 times through a certain section of frames in my flash movie after 3 times is up I want to be able to continue on to the next frames untill the end of the movie

I guess I am not much of a programmer because I tried good and hard to get this to work

I would like to hear your thoughts on how I could accomplish this thank you

maboroshi