_root.frameCount:int = 1; _root.onEnterFrame = function(){ trace("FPS: "+(_root.frameCount/(getTimer()/1000))); _root.frameCount++; }