I thought I should share a component I whipped together for ActionScript 3 projects in Flash that allows you to easily monitor memory usage and framerate. It's simple, unobtrusive, and only adds 0.5kb to your SWF.

It's only about 5 lines of code, but it's handy to have kicking around your component panel for quick access.

Here's a simple demo of it (it's the little widget on the right). It just generates random ByteArray data to force the memory usage up and framerate down.

You can download the FLA for the above demo, and a SWC file that you can drop into your components directory by clicking here.