I'm trying to create a coordinate plane (grid) And I want to draw it dynamically using ActionScript so that I can then draw a line given two points on the coordinate axis.
The way to acquire the two points would be based on an user input, sliding a lever along the X & a lever along the Y axis then clicking to create each point. Once the points are created, I would like flash to draw the line that connects those two points and display the equation of the line.
something like so:
Any help or pointing in the right direction would be greatly appreciated.