Archive for January, 2010
ActionScript 3 / Flash: Simple FPS Counter Class with Average FPS, FPS Threshold, etc
by Scott King on Jan.11, 2010, under ActionScript, Flash
I wanted a nice, simple, small FPS counter that displayed an Average FPS over a set number of frames, eg: 22fps average over 10 frames.
I managed to find a basic class that I modified to include an average FPS parameter and a threshold parameter that turns the FPS Background to RED if the FPS drops below the threshhold.
Source: [fps_example]