Hi guys.
I suppose most of you have heard about the new game Spore where you can design your own "alien". I want make a similar character creation system to the one in Spore, except that the user should be able to draw the outline of a figure and the figure gets fill and becomes "solid".
The figure that the user drew should then be saved in a text file or a database.

I'm using Flash 8 Professional, and i have fairly good experience the with application and AS 2.0.
Any ideas how that could be done?