A Flash Paint Application
Delete Function
OK, now we have to find a way to make it stop! Obviously, we want to stop painting as soon as the mouse button is released. We do have a onMouseUp function built-in, which we'll use, but how to kill that onMouseMove function? The answer is to delete the function:
Save your work if you haven't done so recently, then test: