Searching for online shape drawing program. Anyone know of one?

I once saw an online program (presumably written in flash) that had an GUI for creating drawing shapes and would then output the code, in a format like for the drawGraphicsData () method.

Very similar to the way the well known TweenLite online interface works to produce code.

I need to make something similar (although the code is stored rather than outputted) and would love to see how someone else did it and if possible view the source code.

If anyone knows of what I am talking about, or knows of something similar it would be appreciated. So far I can’t seem to find it via Google.

Thanks for your consideration,