Newest Articles

Flash Media Player
XML Driven Pie Chart
Base Defender
Hangman Game
8 Ball Pool

Popular Articles

Catapult Game
True Fullscreen Flash Mode
3d Rotating Image Cube
Hangman Game
Mp3 Player with XML Playlist
Base Defender

Random Articles

onEnterFrame vs setInterval
Focus in on an Image
Create Pong
LED Text Scroller
3d Rotating Image Cube
Flash Media Player


Link to SwfSpot
Swf Spot

Contact me on Google+

rss feed

Show the Current Frames Per Second

Show the Current Frames Per Second
AddThis Social Bookmark Button
Description: This box can be placed on your applets to show the actual frames per second (fps) your movie is running.
Author: John Bezanis
Added: April 18th 2007
Version: Flash 8

This applet demonstrates how load can cut down on frame rate. GlowFilter has been used because it is a resource hungry operation. The fps count will decrease when the glow size increases, indicating a higher cpu load. The fps counter is a good way to determine if your movies are too cpu intense for your system to handle at full framerate. To use the fps counter, simply copy the fps box in the main timeline and paste it into your applet. This applet will not be accurate if the FPS drops below 1. Commenting is included in the source file below.

Download the Source File
Comments Currently Disabled