You can use this method essentially, at runtime the clip will go to the first frame, and if count does not exist in that frame it will create it. Then count will add 1 to itself every time it hits the last frame until count is equal to 5, and if so the movieclip will stop.

First frame put:

Code:
if(this.count==undefined){
	this.count=0;
}
Last frame put:

Code:
this.count++;

if(this.count==5){
	stop();
}

Personally I hate dynamically creating variables like that, but it will work. I'm sure there is probably a better way.

Hope this helps ,

TariqM