Drawing lines and what not

How can you make a paint-like Flash where you can “draw” with the lines?
Like, click, drag, it makes a line.
Any thoughts?:battery: