Looping problem

Hi,

I am quite new to flash and have been everywhere for a solution to this problem but have had no luckl as yet.
I am trying to create a presentation which is made up of 4 pictures which then go on to play a movie.
This all works well but when i try to loop it, it just goes back to the beginning of the movie and not to the start of the 4 pictures. i have added various action scrips and even the following had no effect.

[SIZE=3]if (!loopCount) {
var loopCount:Number = 0;
}
loopCount++;
if (loopCount >= 3) {
this.gotoAndPlay(1);[/SIZE]
[SIZE=3][/SIZE]
[SIZE=3]Why is it not going back to the very first frame which is a picture??? As I said I am very new to this and some help would be really appreciated.[/SIZE]
[SIZE=3][/SIZE]
[SIZE=3]thanks in advance

[/SIZE]