I have been trying to figure out a good line drawing function for Flash 5. I haven’t liked what I’ve found so I experimented a little.
This example has a point on the stage which can be dragged to another position (just because I could). Whenever you click on the stage, it draws a line from that point to the mouse pointer. I had used an example that scaled a MC line, but wanted to do it point by point. So I changed it around.
I thought of posting it in the Flash 5 forum, but since I have a working example I put it here. The main problem with it is that it seems to lag after 10 or so lines have been drawn. Does anyone have any ideas on this or another way to send the x-y coordinates of two points to a function and have a line drawn between the two?