Flash paint app

I’m wondering if it’s possible (practical?) to build a simple paintbrush-like drawing tool in Flash, where the user can choose a color and stroke and, when holding down the mouse, draw pictures.

All I can think of so far is an onEnterFrame event triggered by the mouse press which attaches a brush-shaped (i.e. small circle) movieclip to the stage at the mouse’s coordinates. The user chooses the color of the brush and the size/shape, but for the drawing to be smooth will require a sufficiently high frame rate, which means attaching (albeit, very simple) movieclips to the stage at the rate of, say, thirty per second. I haven’t had a chance to try this out yet, but I imagine that after a few minutes of drawing the SWF would get bogged down by all the MCs.

Does anyone know if there is something like a drawing class…either in Flash or from a third-party? Or, can you break apart a movieclip via actionscript?

What do you think?