The Line Through Two Points
by Barbara Kaskosz and Doug Ensley

 

In this tutorial, the user defines two points by clicking on a graphing board. The applet then draws the line through these two points and displays its equation. We use this simple applet, to introduce basics of dynamic drawing at runtime as well as MovieClip methods: "createEmptyMovieClip", "moveTo", "lineTo", and "attachMovie". We also discuss the notion of the depth.

Watch narrated video tutorials explaining each step in detail!   Companion video tutorials.

Click on the screen shot below to open the applet in the new window:

This work is supported by the NSF grant DUE-0535327. Last modified: August 24, 2006
Disclaimer