В первом фрэйме клипа следующий экшн:

Код:
function reset()
{
if (this.onEnterFrame == undefined)
{
this.onEnterFrame = eachFrame;
}
numFrames = 0;
slotCount = 0;
start = getTimer();
}
numFrames = _totalFrames;
eachFrame = function ()
{
++numFrames;
this.fps_txt.text = Math.floor(numFrames / ((getTimer() - start) / 1000)) + " fps";
this.next();
};
this.onEnterFrame = eachFrame;
reset();
Во всех последующих фрэймах, собственно сам клип.
Пример сваял на скорую руку.