Getting Line Length
Hi,
I need to be able to draw lines dynamically between several sets of 2 dragged/dropped points on stage.
If I draw a line dynamically between a set of 2 points (LineA), using graphics class, moveTo(point1.x, point1.y), lineTo (point2.x, Point2.y), and I want to then get LineA's length (length of the newly drawn line), plus LineA.x, LineA.y, would I simply use LineA.width, LineA.x, LineA.y?
I'm not sure how else to do this?
Any suggestions appreciated.
saratogacoach
