I finally decided to do a flash drawing program thing because people keep submitting them and only put in the smallest amount of scipting just to have drawing a line, so heres a full featured one complete with customisable polygons, fill modes, blend modes, even two filters and an undo function. Enjoy!
Click, drag, release for basic tools.
Shift makes ellipses into circles.
Holding Control makes the circle have its corner at the start position, instead of being centered there.
Try Control + Shift when drawing circles.
To use the polyline tool, click and drag, press Space to add a corner, release to draw.
The keys 3 to 9 determine the number of sides on the Polygon tool. Pressing 0 will increase the number by, so you can put as many as you want.
There are three modes: line&fill, line, fill
When drawing shapes, the main color is the Fill, the second color is the Line.
Blend Mode doesnt affect the Brush tool.
Alpha doesnt affect the Brush tool.
Ctrl-Z is undo. You can only Undo once. You can Undo the Undo.
You can also Undo by using the right-click menu.
You can right-click for some options.
Also the eraser actually WORKS, it doesnt just draw white lines like in other flash drawing apps I've seen.