Ok most of the drawing apps made with Flash track the mouse and use the lineTo method. We can even track these points/vertex within an array and re-produce the polygon made by the user.
But what if I’d like to draw curves??? 'cause they’re smoother than a couple of lines, right?
The challenge could also be recognising a shape imported from Freehand, Illustrator, or any other drawing application in order to be reproduced by a script.
curveTo is a bit harder to use than lineTo. Robert penner and Lifaros wrote nice functions to draw accurately, see if you can find them on their sites. Otherwise, I’ll try to dig them up